Reduced size of case statement
This commit is contained in:
parent
f38301a6d9
commit
ce7684a7f7
1 changed files with 2 additions and 7 deletions
9
neofetch
9
neofetch
|
@ -1787,13 +1787,8 @@ getbirthday () {
|
|||
birthday=${birthday/$time}
|
||||
|
||||
case "${time/:*}" in
|
||||
0? | 10 | 11)
|
||||
time+=" AM"
|
||||
;;
|
||||
|
||||
*)
|
||||
time+=" PM"
|
||||
;;
|
||||
0? | 10 | 11) time+=" AM" ;;
|
||||
*) time+=" PM" ;;
|
||||
esac
|
||||
birthday+="$time"
|
||||
birthday_shorthand="on"
|
||||
|
|
Loading…
Reference in a new issue