dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

Fix 12 PM meridiem displaying as AM instead of PM in ar-sa locale

Open AnslemHack opened this issue 2 months ago • 1 comments

Fixes #2951 meridiem display bug in ar-sa locale where 12 PM (noon) incorrectly showed as "ص" (AM) instead of "م" (PM).

Changed meridiem condition from hour > 12 to hour >= 12 to correctly handle hour 12 in 12-hour format.

AnslemHack avatar Oct 31 '25 19:10 AnslemHack

@iamkun care looking at this fix? it addresses the wrong meridiem in arabic when time is 12pm

AnslemHack avatar Dec 02 '25 21:12 AnslemHack