News for hackers. Stuff that matters.
Re:Why are German numbers backwards? by kijin on Sunday November 28, 2021 @07:01AM (#29368210)
Oh, the joys of middle-endian notation.

But who are we to laugh at them, the American date notation (M-D-Y) is just as weird.

Re:Why are German numbers backwards? by jeroenhd on Sunday November 28, 2021 @11:42AM (#29370322)
Probably an unpopular opinion, but despite its stupid order, I think M-D-Y makes complete sense for (American) English.

Some languages (or dialects of English) say "twelve/the twelveth (of) January 2022", so 12-01-2022 is the obvious notation. Many English dialects (the majority, given that it's how America does it?) would say "January twelveth, 2022", so 01-12-2022.

It's not that the notation is spun around, some versions of English just pronounce the dates backwards! This is the exact opposite of the question asked about numbers, where English (usually, mostly) follows the "logical" order.

As language is subjective, I don't think there's a right or wrong way to pronounce and order things. The West doesn't use lakh and crore, but there's no reason why the short scale is any better. People just decided to say things one way and stick to it.

Re:Why are German numbers backwards? by Someone on Sunday November 28, 2021 @12:05PM (#29370561)
So, you’re argument is that US English makes two mistakes, so it’s fine?

I think that, in some cases, some systems are objectively better than others because they are simpler. YYYY-MM-DD is such a case. Given that it hasn’t ‘won’ globally over others, it seems it is not that much better, though.

hh:mm:ss is one, too, not because no objectively better ones exist, but because none of them get used (using mixed-base base 24, base 60, base 60, plus, when using milliseconds, base 1,000 doesn’t make sense, but we didn’t manage to replace it (https://en.wikipedia.org/wiki/Decimal_time), so we’re stuck with it.

That may have to do with the fact that it breaks down for larger units, anyways. We could have a 10-day week, but for months and years, it’s impossible to avoid things getting messy.

Re:Why are German numbers backwards? by jeroenhd on Sunday November 28, 2021 @04:04PM (#29373000)
The way a language work is not a "mistake". It's simply how language works. People are not robots and they will exhibit illogical behaviours if that's what feels better to them.

YYYY-MM-DD is probably the clearest way to express dates for computers only because it's not ambiguous and it's easy to sort.

Decimal time was a mistake. We cannot group our 365.24 days given by nature in a round, base 10 number so any attempts to make the entire system decimal is foolish. We could divide the day in 10 hours with each 100 seconds, but that would mean redefining all SI units to use this new second as a base. Distance is defined as the time it takes for light in a vacuum to travel a certain distance, we'd need to change that distance and all other units OR have the "scientific second" and the "metric second".

Re:Why are German numbers backwards? by wruza on Sunday November 28, 2021 @04:59PM (#29373459)
A nitpick, 365.2425. Don’t forget 400 year cycle!

But I wouldn’t mind to have a lunch at ‘43’ (from 43200) and go home at ‘65’, without redefining SI.

Re:Why are German numbers backwards? by lordgroff on Sunday November 28, 2021 @08:31AM (#29368755)
You could be Canada. MM-DD-YYYY? DD-MM-YYYY? Unless you're in Quebec, you never have a clue. Government officially recommends YYYY-MM-DD due to this, but in the real world it's wild west.
Re:Why are German numbers backwards? by majewsky on Sunday November 28, 2021 @08:43AM (#29368836)
I'm a German in an international work environment. Since I'm also fed up with this endless confusion, I'm sneakily forcing YYYY-MM-DD on everyone by quietly editing every instance of a date that I find in the wild, and it's progressing rather well.
Re:Why are German numbers backwards? by pezezin on Sunday November 28, 2021 @09:48PM (#29375780)
Spanish guy working in Japan in an international environment here. Little by little I'm forcing YYYY-MM-DD for file and directory names, and DD-Mon-YYYY as the display format for applications and for the documents I write.

Time for a rant. I recently had to fix a web application where the guy who originally installed it set all the fields to free form text, and dates were a mix of:

- D/M/Y: good, European order.

- Y/M/D: also good, CJK order.

- M/D/Y: who the hell did it, if we never had an American in the project????

- Years with two or four digits. Every time I see a date written with only two digits for the year, I want to kill the motherfucker who did it.

- Months written as numbers, full names, or abbreviations.

Well, at least nobody used Japanese era years, or Roman numerals for months, but any other combination you can think of was there. 600 records, took me several hours because the software is not exactly user friendly and I had to convert each date to its internal representation by hand.

After that, I force every single web form to use date pickers for date fields. But of course text fields are still a mess, maybe I will adopt your approach too ;)

Re:Why are German numbers backwards? by geoduck14 on Sunday November 28, 2021 @09:42AM (#29369248)
Oh you deviant, you! I'm inspired. Keep it up.
Re:Why are German numbers backwards? by blago on Sunday November 28, 2021 @07:23AM (#29368358)
I recently realized that M-D-Y makes a lot more sense than we give it credit for. Date formats needn't be about the cardinality of the units, in this case it's about spoken language. The M-D-Y format simply follows the order of the words in (EDIT: American) English. We say January 4th, 1970. Try reading D-M-Y in (EDIT: American) English and you will quickly realize that it doesn't make sense. I suspect most other spoken languages use 4th January, 1970 so D-M-Y feels more natural to them.

EDIT: I'm sorry if I offended you by equating American English with English. Point taken. I misspoke. The point remains.

Re:Why are German numbers backwards? by stevesimmons on Sunday November 28, 2021 @07:40AM (#29368468)
> We say January 4th, 1970. Try reading D-M-Y in English and you will quickly realize that it doesn't make sense.

Beware your unconscious ethnocentricity! Presumably you are American. I am English. English is the language I use.

The D-M-Y format simply follows the order of the words in English. "We" say 4th of January, 1970. Try reading D-M-Y in English and you will quickly realise that it does make perfect sense... D-M-Y feels more natural to us.

Re:Why are German numbers backwards? by blago on Sunday November 28, 2021 @08:08AM (#29368624)
Good. Then we both agree that date formats tend to reflect spoken language, not unit cardinality. FWIW English is my second language. I'm sorry if my ethnocentricity offended you.
Re:Why are German numbers backwards? by dan-robertson on Sunday November 28, 2021 @07:38AM (#29368456)
I would say “[the] 4th of January 1970” in English. I think saying “January 4th” is an Americanism. It feels to me that in some sense 4th is acting as an adjective coming after the noun it modifies, which is unusual in English.
Re:Why are German numbers backwards? by lebuffon on Sunday November 28, 2021 @09:24AM (#29369103)
Interesting that Americans commonly say "The fourth of July". Is that a carry over from 1700's American parlance?
Re:Why are German numbers backwards? by smcl on Sunday November 28, 2021 @07:40AM (#29368470)
> We say January 4th, 1970

I'd say "the fourth of January". Also, quick question - what do you call Independence Day in the USA? :)

Both ways are valid and can sound fine, it just depends on the locale and context.

Re:Why are German numbers backwards? by Adverblessly on Sunday November 28, 2021 @11:03AM (#29369929)
It is true that this is common in American English. This goes somewhat to explain why patriotic Americans get together every year to celebrate the most American of holidays, "July Fourth" :)
Re:Why are German numbers backwards? by zebracanevra on Sunday November 28, 2021 @07:36AM (#29368451)
Sorry, but English speaking countries that use DMY simply say "4th of January", and it in no way doesn't make sense.
Re:Why are German numbers backwards? by jrockway on Sunday November 28, 2021 @07:35AM (#29368432)
I always like the visual look of D-M-Y in writing; a word bounded by two numbers (1 January 1970).

If it's going to be all numbers, 1970-01-01 seems like the right way to do it. (RFC3339 is the best time format.)

Re:Why are German numbers backwards? by snthueoa on Sunday November 28, 2021 @07:35AM (#29368438)
Yes, in England we’d typically say “(the) 4th of January, 1970”, in line with D-M-Y. I have no idea if the correlation is causation, or which caused the other.