by senfiaj · 1y ago · 0 comments
$ LANG=C date --date="01/02/03"
Thu Jan 2 00:00:00 EET 2003
$ LANG=de_AT.utf8 date --date="01/02/03"
Do 02 Jän 2003 00:00:00 EET
$ LANG=zh_HK.utf8 date --date="01/02/03"
2003年01月02日 星期四 00:00:00 EETStrictly, it is the extended form of the ISO 8601 calendar date format. (The basic format has no separators.)
ISO 8601 allows any of its date formats (calendar date, week date, or ordinal date) to be combined with a time representation for a combined date/time representation, it is inaccurate both to call any of the date formats part of the time format, and to call the calendar date format the format that is part of the combined date/time format.
(There's a reason why people who want to refer to a simple and consistent standard tend to choose RFC-3339 over ISO 8601.)