Feature #6805
add non-ambiguous ISO-ordered date/time formatting
Status: | New | Start date: | 2010-11-02 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: |
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.
History
#1
Updated by Felix Schäfer over 11 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
.
#2
Updated by Albert Rosenfield over 11 years ago
@Felix: %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.