191 points

I’m definitely in the “for almost everything” camp. It’s less ambiguous especially when you consider the DD/MM vs MM/DD nonsense between US dates vs elsewhere. Pretty much the only time I don’t use ISO-8601 is when I’m using non-numeric month names like when saying a date out loud.

permalink
report
reply
25 points

Yeah, it’s pretty much everything for me too. The biggest exception being when UI is involved and a longhand date format would be more friendly.

permalink
report
parent
reply
3 points

Friendly to who?

permalink
report
parent
reply
2 points

The time reapers

permalink
report
parent
reply
21 points

In Canada we use MM/DD and DD/MM so you never quite know which it is! There’s an expense spreadsheet I fill out for work that uses one format in one place and the other format in another…

permalink
report
parent
reply
8 points

Holy cats, that sounds like a nightmare.

permalink
report
parent
reply
4 points

Hey, that sounds like my cloud storage providers auto billing system.

“Your auto renewal will draft on 08/09/23.”

Is that August 9th or September 8th? Literally depends on where the person you ask is in the world.

permalink
report
parent
reply
4 points

That would ruin my entire day

permalink
report
parent
reply
19 points

And you can do a simple sort on the combined number and youve sorted by date.

permalink
report
parent
reply
153 points

permalink
report
reply
39 points

Can’t believe he missed the opportunity to add 41332 to the number of ways of how not to write dates.

permalink
report
parent
reply
13 points

I must be missing something.

permalink
report
parent
reply
32 points

Experience with excel.

permalink
report
parent
reply
19 points

Excel ::shudder::

permalink
report
parent
reply
6 points

They’re trying to make it look fake!

permalink
report
parent
reply
3 points

Everyone tries to make it look fake. Fuckers!

permalink
report
parent
reply
1 point
*

I recall writing a script that produces that 01237 with smaller digits around it for the current date. It lists the numbers that occur in the date (0, 2, 3 and 9 for 2023-09-09), the smaller digits show at which position they show up in a YYYYMMDD format (the 0 shows up on positions 2, 5 and 7)

The script has not been pushed online cause it was so dang bad

permalink
report
parent
reply
125 points

ISO-8601 over all other formats. 2023-08-09T21:11:00Z

Simple, sortable, intuitive.

permalink
report
reply
39 points

Awful to actually read, though. Using T as a delimiter is mental… At least the hyphen provides some white space

permalink
report
parent
reply
7 points

Why are you splitting and delimiting a date object? Convert it to a shallower object if that’s what you need

permalink
report
parent
reply
14 points

While you are definitely right, I and many others use yyyy-mm-dd outside of software. And that’s when the T becomes super lame.

permalink
report
parent
reply
7 points
*

Honestly, even a lowercase t.

permalink
report
parent
reply
8 points
Deleted by creator
permalink
report
parent
reply
0 points

Using T as a delimiter is mental

You get used to it.

permalink
report
parent
reply
7 points

Good luck using colons in a filename.

permalink
report
parent
reply
17 points

Linux has been able to handle that since the 90s.

permalink
report
parent
reply
11 points

Tough luck if you are using NTFS file system. All my homies use EXT4.

permalink
report
parent
reply
2 points
*

btrfs/zfs > ext4

permalink
report
parent
reply
5 points
*

Too long. Even 2023-08-09 is too long for me. But since I like the readability I use 2023.08.09. Less pixels and more readable then 20230809.

permalink
report
parent
reply
9 points
*
Deleted by creator
permalink
report
parent
reply
5 points
*

My company has decided to standardized on phone numbers with dots instead of dashes. They’re in email signatures, memos, client proposals. I absolutely hate it and it rubs me the wrong way every time I see it. It’s wrong.

permalink
report
parent
reply
2 points

Same number of pixels, they are just different colours. But you still paid for them.

permalink
report
parent
reply
2 points

Although I actually like that format a lot, we use characters to help elicit context. 2023/08/09 is fine since we have been using / for dates for so long. Also it blows my mind why people don’t use : in 24 hour times. 16:40 is great, no am pm bullshit and you immediately know I’m talking time.

permalink
report
parent
reply
94 points

ISO 8601 is always the correct way to format dates.

permalink
report
reply
15 points
*

ISO 8601 is the only correct way to format timestamps.

permalink
report
parent
reply
1 point

The intersection of iso8601 and rfc3339.

https://ijmacd.github.io/rfc3339-iso8601/

permalink
report
parent
reply
92 points

Christ, do this many people really find iso8601 hard to read? It’s the date and the time with a T in the middle.

permalink
report
reply
28 points

Not “many people.” Americans. Americans find it hard to read. I’m not 100% sure but I’m fairly certain everyone else in the world agrees that either day/month/year or year/month/day is the best way to clearly indicate a date. You know, because big to small. America believes month/day/year for some stupid fucking reason.

permalink
report
parent
reply
19 points

I’m pretty sure it’s because of the way we say it. Like, “May 6th, 2023”. So we write it 5/6/2023.

That said, I think it’s fucking stupid.

permalink
report
parent
reply
25 points

Yer, just like the most important day for the seppos… The 4th of July…

permalink
report
parent
reply
10 points

In British English you say the date before the month as well. I know that even saying the month first sounds very jarring too me.

permalink
report
parent
reply
3 points

I’m not an American and English isn’t my first language, so the US way to write dates always confused me. Now, I finally understand it! Many thanks, this is legitimately sooooo useful!

permalink
report
parent
reply
5 points

I am an American and I use it religiously for the record. Especially for version numbers. Major.minor.year.month.day.hour.minute-commit. It sorts easy, is specific, intuitive, and makes it clear which version you’re using/working on.

permalink
report
parent
reply
3 points
*

America believes month/day/year for some stupid fucking reason.

It’s because of Great Britain. We adopted it from them while a bunch of colonies and it regionally spread to others.

America didn’t change, probably because we have been so geographically isolated (relatively speaking), whereas the modern day UK did change to be more like Europe.

People get so goddamn hot and bothered by things that ultimately don’t matter almost like it is a culture war issue. Americans maintain the mm/dd/yyyy format because that’s how speak the dates.

I wouldn’t say it is us Americans who “find it hard to read” if someone from elsewhere in the world sees an American date, knows we date things in the old way they used to date things, and then loses their minds over having to swap day for month. Everyone just wants to be contrarian and circle jerk about ISO and such.

Us devs, on the other hand, absolutely should use the same format of yyyy-mm-dd plus time and time zone offset, as needed. There’s no reason, in this age, for dates to be culturally distinct in the tech space. Follow a machine-first standard and then convert just like we do with all other localizatons.

But hey, if people want to be pedantic, let’s talk about archaic gendered languages which are completely useless and has almost zero consistency.

permalink
report
parent
reply
1 point

Bruh even Britain uses day-month-year, even speaks them as “9th of September”.
“September 9th” doesn’t even make sense in English as there is only 1 September in a year.

America did this.
There is no excusing that.

permalink
report
parent
reply
2 points

Day/month/year is not in the same category as y/m/d. That crap is so ambiguous. Is today August 9th? Or September 8th? Y/m/d to the rescue.

permalink
report
parent
reply
16 points

It’s only ambiguous to Americans.

permalink
report
parent
reply
3 points

You’re almost there, just use - instead of / and everyone knows what you mean

permalink
report
parent
reply
-6 points

Because who cares what day it is without knowing the month first.

permalink
report
parent
reply
12 points

Who cares what month it is without knowing the year first

permalink
report
parent
reply
5 points

Of course, don’t you forget the current month all the time? I know I do!

permalink
report
parent
reply
4 points

How often do you mentally need to update the month in your head though? I can literally tell you.

permalink
report
parent
reply
11 points

I think it’s fair that programmatic and human readable can be different. If someone is putting in the month word for a logging system they can fuck right off though

permalink
report
parent
reply
1 point

If someone is putting in the month word for a logging system they can fuck right off though

That way you can sort the months of the year, in order:

  • April
  • August
  • December
  • February
  • January
  • July
  • June
  • March
  • May
  • November
  • September
permalink
report
parent
reply
8 points

I use it all the time when writing dates.

permalink
report
parent
reply
2 points

2023-08-09: just read from the end. 9th August 2023.

permalink
report
parent
reply
1 point

As long as they use letter for months, like Jul 09, 2013 its fine. Otherwise prefer a sorted timescale version. Either slow changing to fast changing yyyy mm dd or fast to slow dd mm yyyy.

permalink
report
parent
reply
5 points

The letters make no sense to me. Like Jul, Jun, I’m constantly mixing them up. Give me a good solid number like 07 or 10. No mixing that up. Higher numbers come after lower numbers, simple as.

permalink
report
parent
reply
5 points

Nah, letters bring another complexity - besides with them Feb gets sorted after Dec.

permalink
report
parent
reply
0 points

what

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

Community stats

  • 9.4K

    Monthly active users

  • 12K

    Posts

  • 272K

    Comments