This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Remove locale timezone information
- From: Keld Simonsen <keld at keldix dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Marko Myllynen <myllynen at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, libc-locales at sourceware dot org
- Date: Thu, 6 Aug 2015 20:01:45 +0200
- Subject: Re: [PATCH] Remove locale timezone information
- Authentication-results: sourceware.org; auth=none
- References: <556F23C9 dot 3030500 at redhat dot com> <557AE725 dot 5050104 at redhat dot com> <20150805090748 dot GH26572 at vapier> <20150805100126 dot GA11842 at www5 dot open-std dot org> <20150805102233 dot GA12350 at www5 dot open-std dot org> <20150805105311 dot GK26572 at vapier> <20150805113049 dot GB16488 at www5 dot open-std dot org> <20150805133305 dot GM26572 at vapier> <20150805155626 dot GA14334 at rap dot rap dot dk> <alpine dot DEB dot 2 dot 10 dot 1508051609310 dot 26234 at digraph dot polyomino dot org dot uk>
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.