News for hackers. Stuff that matters.
Re:Idea for date formatting strings by baddox on Tuesday July 13, 2010 @05:56PM (#1512911)
This removes a lot of flexibility, which is the whole point of date format strings. "31st" doesn't give you the choice to print just the number, or the number and its ordinal suffix ("-st," "-rd," etc.). Also, preferably "Friday" should stand for the day, not the week. :)
Re:Idea for date formatting strings by Ralith on Tuesday July 13, 2010 @06:29PM (#1512978)
All of the things you say can be had by doing things grandparent's way with minor tweaks.
Re:Idea for date formatting strings by baddox on Tuesday July 13, 2010 @06:40PM (#1512998)
But then you're left with essentially the standard php date format, except instead of one-letter tokens, they're all longer.
Re:Idea for date formatting strings by jacabado on Tuesday July 13, 2010 @07:38PM (#1513118)
But concrete and equal in all languages, which is the point of the OP.
Re:Idea for date formatting strings by bluesmoon on Tuesday July 13, 2010 @10:30PM (#1513397)
the strftime format is an open standard that's already the same in all languages.