this post was submitted on 09 Aug 2023
45 points (89.5% liked)

Memes

45522 readers
2020 users here now

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.

founded 5 years ago
MODERATORS
45
2023-08-09.jpg (lemmy.ml)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 
top 41 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (2 children)
[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago (1 children)

I must be missing something.

[–] [email protected] 1 points 1 year ago

Experience with excel.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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

[–] [email protected] 4 points 1 year ago

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.

[–] [email protected] 3 points 1 year ago (1 children)

It warms my heart to see so many comments in the camp of "I use it everywhere". Absolutely same here. You are my people.

[–] [email protected] 2 points 1 year ago

Together with hh:mm(:ss) for times and +hh:mm for timezones. Don't make me deal with that 12am/pm bullshit that doesn't make any sense, and don't make make me look up just what the time difference is between CEST and IST. Just give me the offsets +02:00 and +05:30, and I can calculate that my local time of 06:55+03:30=10:25 in India.

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (2 children)

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.

[–] [email protected] -1 points 1 year ago

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.

[–] [email protected] -1 points 1 year ago (1 children)

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.

[–] [email protected] -1 points 1 year ago

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!

[–] [email protected] 2 points 1 year ago

To the commenters justifying the written form MM-DD-YYYY on the basis of preferring to say the name of the month followed by the day (which the written numerical sequence does not preclude you from doing). If someone were to say something like "the time is a quarter to eleven" do you think they would have a case for writing it 45:10? And if so, how would you deal with the ambiguity of "ten past ten" if they wrote it 10:10 instead of 10:10?

[–] [email protected] 2 points 1 year ago (2 children)

better than the absolutely deranged MM/DD/YYYY and imo the best when it comes to international communication

[–] [email protected] 0 points 1 year ago (1 children)

I've been told " You don't say 6th June, do you?" too many times

[–] [email protected] 0 points 1 year ago (1 children)

In the U.K. we do all the same. Sixth of June.

[–] [email protected] 1 points 1 year ago

In the US it's about 50/50 sixth of June and June sixth.

[–] [email protected] 0 points 1 year ago

How the fuck does second largest to smallest to largest make any kind of sense?

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I really wonder how americans were able to fuck this one up. There are three ways to arrange these and two of them are acceptable!

Edit: Yes, I meant common ways, not combinatorically possible ways.

[–] [email protected] 0 points 1 year ago (1 children)

Hmmm more like 6 ways but I get your point

[–] [email protected] 0 points 1 year ago (1 children)

Twelve ways if you count two-digit years. My nephew was born on 12/12/12 which was convenient.

[–] [email protected] 1 points 1 year ago

for the americans, that's 12/12/12

[–] [email protected] 1 points 1 year ago (2 children)

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

Simple, sortable, intuitive.

[–] [email protected] 2 points 1 year ago (3 children)

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

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Honestly, even a lowercase t.

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

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.

[–] [email protected] -1 points 1 year ago

Using T as a delimiter is mental

You get used to it.

[–] [email protected] 1 points 1 year ago (2 children)

Good luck using colons in a filename.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] -1 points 1 year ago (1 children)

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

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago)

btrfs/zfs > ext4

[–] [email protected] 1 points 1 year ago

Year-Month-Day best everywhere

[–] [email protected] 1 points 1 year ago

yyyy-mm-dd makes it much clearer about what fucking order things are in

[–] [email protected] 1 points 1 year ago

There are two ways of writting dates: the "yyyy-mm-dd" one and the wrong one

[–] [email protected] 1 points 1 year ago

Facts. The sorting system for files inevitably makes YYYY-MM-DD more optimal. I tried to resist but it doesn't work.

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

Use YYYY-DD-MM for pure chaos.

[–] [email protected] 0 points 1 year ago (1 children)

ISO dates are the goat because they string compare correctly. Just yesterday I shaved 2 full seconds off a page transition by removing a date parse in the middle of a hot sorting loop. Everything should use ISO in my opinion.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Maybe we should form some sort of organization, on an international stage, dedicated to creating and maintaining such standards.