add non-ambiguous ISO-ordered date/time formatting
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.
Updated by Felix Schäfer over 13 years ago
%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 about 13 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.
- 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.