public inbox for [email protected]  
help / color / mirror / Atom feed
From: [email protected]
To: Dave Cramer <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: timezones BCE
Date: Wed, 13 Apr 2022 12:48:10 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADK3HHK45Obsn3XLVynJkJ-=vvyuO1JRRg-SadWXLt0dXqz+vg@mail.gmail.com>
References: <CADK3HHK45Obsn3XLVynJkJ-=vvyuO1JRRg-SadWXLt0dXqz+vg@mail.gmail.com>

On 2022-04-13 12:33, Dave Cramer wrote:
> test=# set timezone to 'America/Toronto';
> SET
> test=# select '0101-01-01'::timestamptz;
>          timestamptz
> ------------------------------
>  0101-01-01 00:00:00-05:17:32
> 
> 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.

Regards,
-Chap






view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: timezones BCE
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox