This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/16668] ISO date time format localedef needed for en_CA


https://sourceware.org/bugzilla/show_bug.cgi?id=16668

--- Comment #9 from James B. Byrne <byrnejb@harte-lyne.ca> ---
(In reply to Carlos O'Donell from comment #4)

> As a Canadian my opinion is that Ulrich is wrong. Most Canadians expect that
> the date today should be written as 2014-02-06, and not anything else that
> is used by American geographies.
>  
> > % Original date format (%m/%d/%Y)
> > %d_fmt       "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
> > 
> > % Custom date format (%Y-%b-%d)
> > d_fmt       "<U0025><U0059><U002d><U0025><U0062><U002d><U0025><U0064>"
> 
> Thus this change is going to be OK and I will make this change immediately
> after gathering consensus from the distribution maintainers on the
> development list.

I think that you want %Y-%m-%d to be ISO compliant.  

d_fmt       "<U0025><U0059><U002D><U0025><U006D><U002D><U0025><U0064>"

I used the three letter short form month (%b) in the example.  Had one been
available then I would have simply used a straight ISO8601 localedef.  But as I
had to hand code it anyway I prefer to read the month directly on my desktop
displays and not have to map numbers to the names of the month in my head.  The
servers got the the strict version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]