Commit ce7684a7 authored by Dylan's avatar Dylan

Reduced size of case statement

parent f38301a6
...@@ -1787,13 +1787,8 @@ getbirthday () { ...@@ -1787,13 +1787,8 @@ getbirthday () {
birthday=${birthday/$time} birthday=${birthday/$time}
case "${time/:*}" in case "${time/:*}" in
0? | 10 | 11) 0? | 10 | 11) time+=" AM" ;;
time+=" AM" *) time+=" PM" ;;
;;
*)
time+=" PM"
;;
esac esac
birthday+="$time" birthday+="$time"
birthday_shorthand="on" birthday_shorthand="on"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment