Feature #6805
closedadd non-ambiguous ISO-ordered date/time formatting
0%
Description
Hi
I'd like to see a non-ambiguous date/time format added to Redmine, which also respects standard ISO ordering.
ISO ordering is largest --> smallest component. In practice, that means year > month > day > hour > minute > second.
Non-ambiguous means that some indicator must be present to show what component is the day-of-month and what is the month-of-year.
I've attached a patch that fixes this in the easiest and most readily legible way possible for all nationalities.
Files
Updated by Felix Schäfer about 14 years ago
There's already %Y-%m-%d
, not sure having the month name instead of number would be so much better/different, especially because I'd rather have the name rather than the number in more "human readable" formats, i.e. in stuff like %d %b %y
.
Updated by Albert Rosenfield almost 14 years ago
Felix Schäfer: %Y-%m-%d is not a good enough format, since it is ambiguous for any dates where the day-of-month is 12 or less.
There is no way of telling from reading such a printed date, eg. 2011-01-12, if it is (in this example) january 12 or december 1.
Updated by Go MAEDA 10 months ago
- Status changed from New to Closed
- Resolution set to Wont fix
The YYYYY-MM-DD format is standardized in ISO 8601 and I do not think it is ambiguous.
https://www.iso.org/iso-8601-date-and-time-format.html