fixed spacing between time and AM/PM

This commit is contained in:
Andrew Titmuss 2016-03-12 10:25:19 +11:00
parent 641470ccd7
commit 74f5f76569
1 changed files with 3 additions and 3 deletions

View File

@ -1572,11 +1572,11 @@ getbirthday () {
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"
@ -1618,7 +1618,7 @@ getbirthday () {
esac esac
# Strip seconds from time output # Strip seconds from time output
birthday=${birthday/:?? /} birthday=${birthday/:?? / }
# Pretty output # Pretty output
[ "$birthday_shorthand" == "off" ] && \ [ "$birthday_shorthand" == "off" ] && \