Reduced size of case statement

This commit is contained in:
Dylan 2016-04-03 12:01:25 +10:00
parent f38301a6d9
commit ce7684a7f7

View file

@ -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"