News for hackers. Stuff that matters.
Re:Freedom Clock by jacknews on Saturday March 25, 2023 @10:49AM (#35303175)
I get it, it's really annoying that there are different formats.

In fact I once nerfed a small database by importing a bunch dates from a csv in the wrong format.

But honestly both formats (M/D/Y and D/M/Y) are wrong, as clear from the clock example: dates should be big-endian; Y/M/D.

Re:Freedom Clock by jstanley on Saturday March 25, 2023 @10:57AM (#35303251)
While I agree that big-endian dates are the best solution (if nothing else, because lexical sort puts it in the right order), I think little-endian at least makes sense. The middle-endian format is just absurd.
Re:Freedom Clock by kaladin-jasnah on Saturday March 25, 2023 @11:41AM (#35303768)
To be honest, using date formats in Asian languages (Korean/Japanese/Chinese) is probably the best. There is zero confusion, as the word for "month," "day," or "year" proceeds the numbers directly: 2023년 3월 25일 in Korean, or 2023年3月25日 in Chinese (and Japanese?).
Re:Freedom Clock by Steltek on Saturday March 25, 2023 @12:08PM (#35304034)
> proceeds the numbers

JSYK, a more native phrasing would be "follows the numbers". "Proceeds" would be too easily confused for "precedes".

Re:Freedom Clock by jffry on Saturday March 25, 2023 @11:15AM (#35303477)
> lexical sort puts it in the right order

For a few thousand more years, sure!

Re:Freedom Clock by 7oi on Saturday March 25, 2023 @11:33AM (#35303653)
Ah, the dreaded y10k problem. We really should start planning for that.
Re:Freedom Clock by downvotetruth on Saturday March 25, 2023 @11:21AM (#35303537)
AD > BC(E) & 2 BC(E) is before 1 BC(E)
Re:Freedom Clock by tomgp on Saturday March 25, 2023 @11:28AM (#35303601)
But BCE comes before CE
Re:Freedom Clock by koheripbal on Saturday March 25, 2023 @11:49AM (#35303858)
Yes, but the confusion caused by not knowing which way your writing it makes both ways worthless (unless your audience is strictly IN or OUT of the US - OR - if one number is greater than 12).

It's annoying, and I just ALWAYS use YYYY-MM-DD, and everyone is happy. Please join my cause. If there's one thing we can all agree makes the world just a little better, it's using YYYY-MM-DD to get people used to it.

Re:Freedom Clock by jstanley on Saturday March 25, 2023 @02:40PM (#35305657)
I do the same.
Re:Freedom Clock by anotherevan on Saturday March 25, 2023 @04:45PM (#35307138)
I'll use YYYY-MM-DD a lot of the time when doing computer related stuff, but out in the wild I'll tend to do little-endian but write the month as three letters. E.g. 26 Mar 2023.
Re:Freedom Clock by soerxpso on Saturday March 25, 2023 @05:55PM (#35307851)
Middle-Endian is how it tends to be said out loud in English. Even in countries that would write 25/3/23, you still usually answer "What day is it?" out loud with "It's March 25th" rather than "It's the 25th of March." And after that point, the year going at the end makes sense because people are generally not asking what year it is. The only thing that makes it confusing at all is Europe choosing to do it differently without a clear way to tell which system is being used in some cases (you could say this about timezones as well, and would be right to complain there as well, but that doesn't mean that someone's particular timezone is "more correct").

In my opinion though, using a number for the month at all is silly. Nobody ever answered "What month is it?" with "Five." A better format would be to use standard 3-letter codes for the month, e.g. MAR:25:23.

Re:Freedom Clock by snorfalorpagus on Saturday March 25, 2023 @06:08PM (#35307959)
This isn't true in British English, at least in my experience. We'd say "25th of March". The "of" would be omitted when writing a sentence, but you'd include it when reading aloud.
Re:Freedom Clock by bigkm on Saturday March 25, 2023 @06:16PM (#35308044)
Same for Australian English.
Re:Freedom Clock by sameerds on Sunday March 26, 2023 @03:35AM (#35312030)
Same in India. And not just when speaking or writing English, but in some the regional languages too.
Re:Freedom Clock by mianm on Saturday March 25, 2023 @11:06AM (#35303360)
They are both "wrong" compared to big-endian, but M/D/Y is by far the least logical of the three formats.

M/D/Y should never be a default for any software without the user explicitly selecting it or specifying their country.

Re:Freedom Clock by vehemenz on Saturday March 25, 2023 @11:14AM (#35303452)
What do you mean by "wrong?" And why should logic trump practicality? Besides, rightness and wrongness are value judgments. They have nothing to do with logic.

M/D/Y seems to be the most practical because it reflects how dates are spoken in American English. It separates the date (month/day) from the year, which in many cases can be omitted, while also keeping the larger unit, the month, up front.

Re:Freedom Clock by mianm on Saturday March 25, 2023 @11:31AM (#35303639)
"wrong" was in reference to the post being replied to.

The majority of English speakers and people in general don't speak American English, so it makes zero sense to default to "M/D/Y", unless the user explicitly states to use American English, over a more logical order, ideally Y-M-D.

Pretty much all defence in this thread of M/D/Y is just American exceptionalism.

Re:Freedom Clock by nerdponx on Saturday March 25, 2023 @11:32AM (#35303644)
YYYY-MM-DD is also abbreviated as MM-DD.

As for practicality, I don't think closely mirroring English grammar makes it any more practical for written communication.

Re:Freedom Clock by activitypea on Saturday March 25, 2023 @11:14AM (#35303459)
I'd much rather have D/M/Y, since then data is ordered by relevance. If I'm seeing a full date, I probably care more about the day than the month, and more about the month than the year. This is just pure bikeshedding tho, both are infinitely better than M/D/Y
Re:Freedom Clock by czbond on Saturday March 25, 2023 @11:16AM (#35303485)
I agree with you. Year is least likely to change, then month, so you can pay attention to D, and scan M/Y which I feel takes less attention than other formats
Re:Freedom Clock by l0b0 on Saturday March 25, 2023 @03:59PM (#35306638)
Relevance changes by which time scale you're looking at. If you're looking at the last month, the day is most important. If you're looking at last year, month is probably most important. And for anything beyond a year, year is obviously most important.
Re:Freedom Clock by chewbacha on Saturday March 25, 2023 @10:52AM (#35303199)
Iso8601 for the win!
Re:Freedom Clock by crote on Saturday March 25, 2023 @11:24AM (#35303561)
Only for dates. It is horribly broken once you start involving timezones.
Re:Freedom Clock by cratermoon on Saturday March 25, 2023 @11:33AM (#35303665)
What isn't horribly broken once you start involving timezones? Also daylight saving (summer) time. What else?
Re:Freedom Clock by akvadrako on Saturday March 25, 2023 @04:17PM (#35306841)
Not if you always use UTC; just stick a Z on the end and be done with it.
Re:Freedom Clock by l- on Saturday March 25, 2023 @11:15AM (#35303465)
2023-03-25=1995
Re:Freedom Clock by hmaxwell on Saturday March 25, 2023 @11:28AM (#35303592)
03-25-2023=-2045
Re:Freedom Clock by kzrdude on Saturday March 25, 2023 @11:34AM (#35303676)
And, for fun

    >>> 3/25/2023
    5.931784478497281e-05
Re:Freedom Clock by wscott on Saturday March 25, 2023 @04:22PM (#35306894)
I am kinda shocked no one has posted this yet: https://xkcd.com/1179/
Re:Freedom Clock by mihaaly on Saturday March 25, 2023 @11:24AM (#35303562)
I grew up in a big endian culture and I cannot agree more with your last sentence.
Re:Freedom Clock by dreen on Saturday March 25, 2023 @11:24AM (#35303556)
I say whatever floats your boat. Which I guess could be pound-force (lbf).
Re:Freedom Clock by Pxtl on Saturday March 25, 2023 @10:58AM (#35303274)
Slash means "of". D/M/Y or Y-M-D.

Hell, the weird American "write it like you say it month dayeth of year" would be fine if they didn't use slashes. Sure it doesn't sort well but at least it wouldn't be ambiguous. Nobody would be confused if today was written 03-25/2023.

Re:Freedom Clock by dragonwriter on Saturday March 25, 2023 @11:12AM (#35303433)
> Slash means "of".

No, it doesn't. I mean, in certain contexts it can, but it doesn't exclusively in general, any more than it means “and/or” exclusively in general (though, it does mean “and/or” in “and/or” which probably isn’t something you should think about too much.)

It can just be a separator, as it is in American dates.

Re:Freedom Clock by Pxtl on Saturday March 25, 2023 @09:03PM (#35309457)
Fair point about and/or, but there's still a consistent pattern to that usage - also he/she, etc. I'm having trouble coming up with cases besides US dates where it isn't used to mean one of these two things:

"of": like one half (1/2) meaning one of two, or km/h meaning kilometers per hour, or page 14/55. In these contexts it means something within something else. In both cases there's the strong mathematical connotation of a numerator and a denominator.

"or": like in and/or or he/she.

The symbol has clear connotations, and the American date-format deviates from those.

Re:Freedom Clock by mikewarot on Saturday March 25, 2023 @11:04AM (#35303342)
Slash is just a separator. We're weird here in the US.
Re:Freedom Clock by fanagra32 on Saturday March 25, 2023 @12:15PM (#35304106)
I tend to do important things in the second half of the month. That way, you don't get an ambiguous 10/09/22 but a less ambiguous 10/17/22. Everybody still needs to be aware which year we are talking about, but you tend to just write day and month anyway, so 10/09 is bad while 10/17 is obvious.
Re:Freedom Clock by trialect on Saturday March 25, 2023 @04:28PM (#35306958)