mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Actually fix the failing test
This commit is contained in:
parent
69b689c9d0
commit
206307993c
@ -96,7 +96,7 @@ def fd_format_ampm(dt, ampm, ap, as_utc):
|
||||
ans = get_ampm_text(ans)
|
||||
if ans is 'Ap' or ans is 'aP':
|
||||
return ans
|
||||
return ans if (ap is 'ap' or ap is 'a') else ans.toUpperCase()
|
||||
return ans.toLowerCase() if (ap is 'ap' or ap is 'a') else ans.toUpperCase()
|
||||
|
||||
|
||||
def fd_format_day(dt, ampm, dy, as_utc):
|
||||
|
Loading…
x
Reference in New Issue
Block a user