midday → noon

This commit is contained in:
stvnrlly
2022-11-28 16:57:49 -05:00
parent 03dad94af0
commit c8486ea015
7 changed files with 17 additions and 17 deletions

View File

@@ -86,7 +86,7 @@ def get_time_value_and_label(future_time):
def get_human_time(time):
return {
'0': 'midnight',
'12': 'midday'
'12': 'noon'
}.get(
time.strftime('%-H'),
time.strftime('%-I%p').lower()