Actually fix the failing test

This commit is contained in:
Kovid Goyal 2025-04-05 11:40:31 +05:30
parent 69b689c9d0
commit 206307993c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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):