Skip to content

Comment on En-CA switching to M/d/yy from y-MM-dd?

Comments

I noticed some locale-formatting tests breaking in Chrome 110 and traced this back to a change in Unicode CLDR 42.

You can find this by searching for "y-MM-dd" in the linked changelog.

AIUI, the official recommendation is to use y-MM-dd, and M/d/yy is particularly ambiguous in Canada, at least relative to the US.

Thought I'd float in case anyone knows more, or has been using the "en-CA" trick to get American-ish dates with YYYY-MM-DD short dates.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.