fixed spacing between time and AM/PM
This commit is contained in:
6
neofetch
6
neofetch
@@ -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" ] && \
|
||||||
|
|||||||
Reference in New Issue
Block a user