This is the mail archive of the libc-alpha@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]

Re: [PATCH] Remove locale timezone information


On Wed, Aug 05, 2015 at 04:15:14PM +0000, Joseph Myers wrote:
> On Wed, 5 Aug 2015, Keld Simonsen wrote:
> 
> > I don't know. I think I could add timezone info since the epoch based on
> > the Olson data for each of the locales. Would you be positive about committing such changes 
> > Mike?  I would then have to write up a program for that.
> 
> We should not duplicate the work done externally in tracking timezone 
> changes, nor embed copies of such frequently changing data in glibc (the 
> existing copies of timezone data are purely for use as test inputs for zic 
> and time-related functions, not for installation).

I don't understand your attitude here. Most other data in locales are
coming from somewhere else, such as the language codes, the country codes,
the date formats, the character attributes, the collation sequence.

Locales are just a way of providing all these data, collected from
different sources, into one uniform syntax, to be utilized by
different glibc functions. And also collected so the user
can choose the whole collection in one go. That has proven a useful
concept for many years in the POSIX/C environment.

Best regards
Keld


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