← Back to context

Comment by TimK65

5 days ago

So thankful that we use the correct date format (yyyy-mm-dd) in Sweden.

Can I just say that, as someone born and bred in the UK, YYYY-MM-DD is the only correct way to display a date wherever you live.

Anything else is as bad as using mm:hh...

Wrong decimal tho.

Why isn't there an en-EU or en-ISO locale that has:

  - yyyy-mm-dd
  - SI units
  - 1,234.56 number format

  • The European Commission published its own language guide. In terms of English it's only a small deviation from en-GB, but my first thought was indeed: when can I set en-EU?

  • I can tolerate the comma as thousands separator, but I hate the dot as thousands separator. Use a space or ' if you want to be fancy.

    I wish we’d rip the bandaid off and invent a new character that makes it unambiguous across the world.

  • Nowadays the recomended thousands separator by most international standards is a blank space.

    And having been raised in the continent, I personally find using commas for thousands disgusting.

as an American this is my favorite format. Sortable, and the mm-dd order reflects the standard American way of writing month+day, and yyyy is unambiguously the year since it's 4 letters. Best of both worlds.

Although my (AU) locale is dd-mm-yyyy, I'll use yyyy-mm-dd anywhere I have to write a date in all numbers to avoid any ambiguity. It also has the advantage of sorting correctly in things like file names.

For something more likely to be read by a human and not parsed by a computer (and is not locale or i18n/l10n flexible) I'll use d mmm yyyy, e.g., 3 Jul 2026. To my thinking, for English speaking this is the friendliest unambiguous format (although I'm sure opinions will differ).

  • "Friday 3 July 2026" (yes, I elected to spell out the month) also has the advantage of not requiring commas for legibility ("Friday, July 3, 2026" being common in the US).

I've taken to using the Swedish locale for that very reason (French-American living in the UK).

Vad himla pratar du om? ALLT använder dd/mm-yy. Jag har aldrig sett något på svenska som använder yyyy-mm-dd, det finns bara inte. Det finns i Sverige, men då är det också på engelska.

  • "Vad himla pratar du om?"? I in my turn have never heard that expression before, so who's zoomin' who, baby?