From: | Dave Cramer <davecramer(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Chapman Flack <chap(at)anastigmatix(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: timezones BCE |
Date: | 2022-04-13 18:13:41 |
Message-ID: | CADK3HHLMvhLtJKUv=pQ9oF5teuJP3zXRZXV1U9Nk1MDAc18Buw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 13 Apr 2022 at 14:10, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> chap(at)anastigmatix(dot)net writes:
> > On 2022-04-13 12:33, Dave Cramer wrote:
> >> Specifically why the -05:17:32
>
> > Timezones were regularized into their (typically hour-wide) chunks
> > during a period around the late nineteenth century IIRC.
>
> > If you decompile the zoneinfo database to look at America/Toronto,
> > you will probably find an entry for dates earlier than when the
> > regularized zones were established there, and that entry will have
> > an offset reflecting Toronto's actual longitude.
>
> Yeah, you'll see these weird offsets in just about every zone for dates
> earlier than the late 1800s. I've got my doubts about how useful it is
> to do that, but that's the policy the tzdb guys have.
>
> At one point I was considering whether we could project the oldest
> recorded "standard time" offset backwards instead of believing the LMT
> offsets. This would confuse many fewer people, and it's no less
> logically defensible than applying the Gregorian calendar to years
> centuries before Pope Gregory was born. But I fear that horse may
> have left the barn already --- changing this behavior would have
> its own downsides, and I do not think any other tzdb consumers do it.
>
Oh please don't do something bespoke. I'm trying to make this work with the
JDBC driver.
So it has to be at least compatible with other libraries.
Dave
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2022-04-13 18:30:40 | Re: make MaxBackends available in _PG_init |
Previous Message | Tom Lane | 2022-04-13 18:10:06 | Re: timezones BCE |