642
ISO 8601 ftw rule (gregtech.eu)
submitted 2 months ago* (last edited 2 months ago) by lena@gregtech.eu to c/196

!iso8601@lemmy.sdf.org gang, rise up

top 50 comments
sorted by: hot top controversial new old
[-] j4k3@lemmy.world 104 points 2 months ago

MM ≠ MM !!!

[-] fushuan@lemm.ee 93 points 2 months ago

"Europe", as if there weren't several languages in Europe with different date formats per language...

[-] Mr_Blott@feddit.uk 96 points 2 months ago

None of which start with the month because that would be fuckin stupid

[-] htrayl@lemmy.world 25 points 2 months ago

Meh. It's getting a lot of hate here, but I think it works well in casual short term planning. Context (July) - > precision (15).

If I want to communicate the day in the current month, I just say the day, no month.

[-] stebo02@lemmy.dbzer0.com 19 points 2 months ago

ok but by that logic you'd start with the year

[-] tomenzgg@midwest.social 16 points 2 months ago

No because the year is a super large time; there's a reason people always say they take a bit to adjust to writing the new year in dates because it's s long enough period of time that it almost becomes automatic.

For archiving, sure; most other things, no (logically, ISO-8601 is probably the best for most cases, in general, but I'll die on the hill that MM-DD-YYYY is better than DD-MM-YYYY).

[-] stebo02@lemmy.dbzer0.com 29 points 2 months ago

well either you omit the year, or you start with it

americans start with the month and end with the year, which is totally wild

load more comments (11 replies)
load more comments (3 replies)
load more comments (1 replies)
load more comments (1 replies)
[-] nesc@lemmy.cafe 56 points 2 months ago

This pyramid visualisation doesn't work for me, unless you read time starting with seconds.

[-] Mirodir@discuss.tchncs.de 32 points 2 months ago

A pyramid is built bottom to top, not top to bottom. That's also one of the strengths of the ISO format. You can add/remove layers for arbitrary granularity and still have a valid date.

[-] Zagorath@aussie.zone 31 points 2 months ago

Yeah, but people read top to bottom. The best way to do it would be to have upside down pyramids. With the biggest blocks at the top representing the biggest unit of time (YYYY) and the smallest blocks at the bottom representing seconds & smaller.

load more comments (1 replies)
load more comments (1 replies)
[-] lena@gregtech.eu 17 points 2 months ago* (last edited 2 months ago)
[-] nesc@lemmy.cafe 29 points 2 months ago

I get it, just pyramids are misleading, also year-month-day is better because resulting number always grows. 😺

[-] Zagorath@aussie.zone 17 points 2 months ago

2025-01-26T11:40:20, you mean?

load more comments (3 replies)
[-] lazynooblet@lazysoci.al 54 points 2 months ago

I work with international clients and use 2025-01-26 format. Without it.. confusion.

[-] ByteJunk@lemmy.world 32 points 2 months ago

That's an ISO date, and it's gorgeous. It's the only way I'll accept working with dates and timezones, though I'll make am exception for end-user facing output, and format it according to locale if I'm positive they're not going to feed into some other app.

[-] czardestructo@lemmy.world 35 points 2 months ago

I'm almost 40 and now just realizing my insistence on how to structure all my folders and notes is actually an ISO standard. Way to go me.

[-] valkyre09@lemmy.world 16 points 2 months ago

I stumbled upon it years ago because sorting by name sorts by date. There was no other thought put into it.

[-] clockworkrat@slrpnk.net 9 points 2 months ago

It's incredibly annoying that in clinical research we are prohibited from using it because every date must comply with the GCP format (DD mmm yyyy). Every file has the GCP date appended to the end.

[-] Bo7a@lemmy.ca 34 points 2 months ago

I don't know why anyone would ever argue against this. Least precise to most precise. Like every other number we use.

(I don't know if this is true for EVERY numerical measure, but I'm sure someone will let me know of one that doesn't)

[-] endeavor@sopuli.xyz 10 points 2 months ago

They are all equally prescise. American one is stupid just like their stupid ass imperial units. European one is two systems slapped together(since they are rarely used together and when they are its the iso format) and iso is what european standard should be.

[-] Bo7a@lemmy.ca 13 points 2 months ago* (last edited 2 months ago)

You misunderstand my comment.

I'm saying the digits in a date should be printed in an order dictated by which units give the most precision.

A year is the least precise, a month is the next least, followed by day, hour, minute, second, millisecond.

load more comments (12 replies)
[-] myrrh@ttrpg.network 29 points 2 months ago

YYYY.MM.DD HH.MM.SS, as eru ilúvatar intended

load more comments (2 replies)
[-] istdaslol@feddit.org 26 points 2 months ago

My stupid ass read this top to bottom and I was confused why anyone would start with seconds

[-] derpgon@programming.dev 25 points 2 months ago

All my homies hate ISO, RFC 3339 for the win.

[-] amon@lemmy.world 21 points 2 months ago* (last edited 2 months ago)

All my homies hate ISO

Said no-one ever?

EDIT: thanks for informing me i now retract my position

[-] namingthingsiseasy@programming.dev 39 points 2 months ago

Nah, ISO is a shit organization. The biggest issue is that all of their "standards" are blocked behind paywalls and can't be shared. This creates problems for open source projects that want to implement it because it inherently limits how many people are actually able to look at the standard. Compare to RFC, which always has been free. And not only that, it also has most of the standards that the internet is built upon (like HTTP and TCP, just to name a few).

Besides that, they happily looked away when members were openly taking bribes from Microsoft during the standardization of OOXML.

In any case, ISO-8601 is a garbage standard. P1Y is a valid ISO-8601 string. Good luck figuring out what that means. Here's a more comprehensive page demonstrating just how stupid ISO-8601 is: https://github.com/IJMacD/rfc3339-iso8601

load more comments (7 replies)
[-] sga@lemmings.world 12 points 2 months ago

if i am not wrong, it is because essentially both are same (slight differences in what is allowed and what is not, https://github.com/IJMacD/rfc3339-iso8601), but RFC is more free as in freedom

load more comments (1 replies)
[-] ShareMySims@lemmy.dbzer0.com 23 points 2 months ago

Maybe in programming or technical documentation, but no, when I check the date I want to know the day and the month, beyond that, it's all unnecessary information for everyday use, and we have it right in Europe.

You can't change my mind. ¯\_(ツ)_/¯

load more comments (9 replies)
[-] dkt@lemmy.ml 20 points 2 months ago

finally a correct version of this diagram

[-] lolola 17 points 2 months ago

I know, why don't we all agree to agree and use every single possible format within a shared spreadsheet

load more comments (1 replies)
[-] Gork@lemm.ee 17 points 2 months ago

I often have to refrain myself from using ISO-8601 in regular emails. In a business context the MM/DD/YYYY is so much more prevalent that I don't want to stand out.

Filenames on a share drive though? ISO-8601 all the way idgaf

[-] random 16 points 2 months ago

I use ss/mm/hh/dd/MM/YYYY

t.european

[-] Maggoty@lemmy.world 14 points 2 months ago

Mmm US military date and time is fun too.

DDMMMYYYYHHMM and time zone identifier. So 26JAN20251841Z.

So much fun.

load more comments (5 replies)
[-] SARGE@startrek.website 14 points 2 months ago

In one work report, I recorded the date as "1/13/25", "13/1/25" and "13JAN2025"

I have my preference, but please for the love of all that is fluffy in the universe, just stick to one format....

load more comments (1 replies)
[-] azi@mander.xyz 11 points 2 months ago

Hot take: 2025-Jan-27 is better than 2025-01-27 in monolingual contexts.

[-] bigboismith@lemmy.world 32 points 2 months ago

The beautiful part of 2025/01/27 is that it can inherently be sorted without formatting.

load more comments (1 replies)
[-] Track_Shovel@slrpnk.net 11 points 2 months ago
[-] lena@gregtech.eu 31 points 2 months ago
[-] Adm_Drummer@lemmy.world 12 points 2 months ago

Don't you mean: "Right there! Stop you, I'm going to."

Yoda-ass date structure.

What day, of what month, of what year is it? It's ordered by importance dammit!

load more comments (6 replies)
load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 26 Jan 2025
642 points (100.0% liked)

196

17437 readers
1130 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS