Commit 828ad269 authored by Dylan Araps's avatar Dylan Araps

Birthday: Handle 00:00

parent 1fa98d7b
......@@ -2966,6 +2966,7 @@ convert_time() {
# Convert 24 hour time to 12 hour time + AM/PM
case "$hour" in
0[0-9] | 1[0-2]) time="${hour}${min} AM" ;;
00) time="12${min} PM" ;;
*) time="$((hour - 12))${min} PM" ;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment