From 206307993ca9f88e422d12a218bf6390643743a9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 5 Apr 2025 11:40:31 +0530 Subject: [PATCH] Actually fix the failing test --- src/pyj/date.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/date.pyj b/src/pyj/date.pyj index 279ac8d782..6c3280d835 100644 --- a/src/pyj/date.pyj +++ b/src/pyj/date.pyj @@ -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):