4 ms·
ISO 8601 is the way.
by titzer 1y ago
ISO 8601 is the way.
- cyanydeez 1y agoalas, the user doesnt know the way...
- PaulHoule 1y agoThat part is easy. Use a date picker of some kind https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/date https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/... or a text field with some code that converts vernacular dates to a structured format. I don't think users are going to be too weirded out at seeing "1997-04-15" and will probably learn to use that natively. The hard part is that a lot of devs aren't aware that there's a standard and that standard is superior to the alternatives.
- homebrewer 1y agoYou must mean RFC 3339. https://ijmacd.github.io/rfc3339-iso8601/ https://ijmacd.github.io/rfc3339-iso8601/
- bobmcnamara 1y agoOut blasphemous temporal demon! Out!
- tshaddox 1y agoYes, except for all the completely unhinged stuff in ISO 8601. You probably do not want to deal with durations, or repeating intervals, or even week dates and ordinal dates.