This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Removing locale timezone information
- From: Keld Simonsen <keld at keldix dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, libc-locales at sourceware dot org
- Date: Wed, 12 Aug 2015 23:37:21 +0200
- Subject: Re: Removing locale timezone information
- Authentication-results: sourceware.org; auth=none
- References: <556F23C9 dot 3030500 at redhat dot com> <20150603203430 dot GC15814 at www5 dot open-std dot org> <55715DB2 dot 2010500 at redhat dot com> <20150806175226 dot GD28963 at www5 dot open-std dot org> <55C51D35 dot 8060406 at cs dot ucla dot edu> <20150809145027 dot GA5048 at www5 dot open-std dot org> <55C7773F dot 30205 at cs dot ucla dot edu> <20150812140837 dot GA23436 at www5 dot open-std dot org> <CAKCAbMj3X-G10=RVZaBoV8oZbC7tzYDaDtvNyf1WmijkihFAvQ at mail dot gmail dot com>
On Wed, Aug 12, 2015 at 11:06:16AM -0400, Zack Weinberg wrote:
> On Wed, Aug 12, 2015 at 10:08 AM, <keld@keldix.com> wrote:
> > My impression is that timezone changes are normally announced in due time
> > so that they can be included in normal glibc release schedule, which
> > I think is about twice a year, but irregulary. I have not been down into
> > the data, tho.
>
> Sadly, as pointed out by others, this is not so.
>
> Keld, would your use cases be satisfied if each glibc locale (for
> which this makes sense) specified a default *Olsen* timezone? I think
> that might be a way to get what you want while avoiding the problems
> everyone else is bringing up.
As others has pointed out, there are a number of cases where time zone changes
havd been made with very short notice. I was talking about the normal case,
meaning the majority of cases. I need to go deeper into the data
to see for myself if I should consider myself being wrong. But just mentioning a few cases
do not make my statement false. And my general knowledge
of timezone changes are that they are not frequent. In EU and in the USA and Canada
and big countries in Asia there have been few changes AFAIK in the last few decades, but
of cause there are many countries and a few changes here and there all adds up.
I will have a look, as suggested.
The suggestion of referencing data in Olson tzdata - I wil investigate that.
Best regards
keld