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