This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove locale timezone information
- From: Zack Weinberg <zackw at panix dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Keld Simonsen <keld at keldix dot com>, Joseph Myers <joseph at codesourcery dot com>, 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 16:12:42 -0400
- 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> <20150806180145 dot GE28963 at www5 dot open-std dot org> <877fp86yup dot fsf at igel dot home>
Is it possible for a locale to specify an Olson timezone which will be
used *as the default* (i.e. unless overridden by TZ=) ? If that were
possible, then it would be straightforward to label most locales with
an appropriate timezone and there would be no issue of having to
maintain the same information in two places.
On Thu, Aug 6, 2015 at 2:44 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Keld Simonsen <keld@keldix.com> writes:
>
>> 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.
>
> And the timezone package it the primary source for timezone data.
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."