This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales 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]

Re: week description in locales


On 28 Jun 2016 15:15, Michael Meskes wrote:
> while debugging ncal I found that most (not all) European locales have
> the week information as "7;19971130;4", However, the comment in C
> suggests that "ISO 8601 conforming applications should use the values
> 7, 19971201 (a Monday), and 4 (Thursday), respectively". Now afaik
> Europe does use ISO 8601 making me wonder if the entries need
> correction. 
> 
> I do not know if there is any application out there really using this
> bit of information because the first day of the week is defined
> as first_weekday, too. 

the wiki has the current status:
https://sourceware.org/glibc/wiki/Locales#LC_TIME

and the current git should follow that.  which is to say, every locale
should be using 19971130 now as its start date, and all locales use a
1 or 4 for the minweeklen.  all locales use 7 for daysinweek.
-mike

Attachment: signature.asc
Description: Digital signature


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