News for hackers. Stuff that matters.
Re:Date/Time Inputs Enabled on Firefox Nightly by nkristoffersen on Monday October 23, 2017 @04:20AM (#15531595)
I build interfaces for Norwegian web applications pretty often. Why must the date format be Norwegian? Obviously this is just the form field, you shouldn't actually store the data as displayed. I typically store UTC/ISO strings for all dates, but in this case I would store it in whatever format I needed (such as the Norwegian format), regardless of what the format was on the form. Never trust client-side, right?
Re:Date/Time Inputs Enabled on Firefox Nightly by NetMonkey on Monday October 23, 2017 @04:52AM (#15531706)
I build Danish self service web applications, and from my perspective I would always want to control that date formats fits the displayed language.

Why must it then be in Danish? Because we would rather optimize for Danish users who for some reason have gotten the wrong browser version / localization settings and don't know how to change it.

An English speaking user would be much better served with a dedicated English version than just the date format being correct - if they can overcome the language barrier, surely they can overcome the date format.

Re:Date/Time Inputs Enabled on Firefox Nightly by maggit on Monday October 23, 2017 @04:50AM (#15531701)
> Why must the date format be Norwegian?

Otherwise the page isn't in Norwegian. This is a UX question only.

Re:Date/Time Inputs Enabled on Firefox Nightly by robin_reala on Monday October 23, 2017 @04:25AM (#15531611)
The form is submitted with ISO 8601 dates, it’s just the UI that localises.