Re: TODO-Item: full timezone names

From: Joachim Wieland <joe(at)mcknight(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: TODO-Item: full timezone names
Date: 2006-06-01 16:31:46
Message-ID: 20060601163146.GA9254@mcknight.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Thu, Jun 01, 2006 at 11:00:12AM -0400, Tom Lane wrote:
> Joachim Wieland <joe(at)mcknight(dot)de> writes:
> > With a timetz it's more tricky, because "America/New_York" does not specify
> > a timezone offset by itself, this could change due to daylight savings time
> > for example. So my idea was to apply whatever offset is valid in this region
> > at the moment of parsing the string representation.

> You can't be serious. The correct interpretation of
> '2006-06-01 10:49 America/New_York'
> has to be 10:49 in whatever time was then in use in New York. Not when
> you read the string.

I'm talking about the timetz type that does not carry a date. So you don't
know if daylight savings time is active or not. How would you interpret the
full timezone in this case without a date?

Joachim

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-06-01 16:35:44 Re: TODO-Item: full timezone names
Previous Message Tom Lane 2006-06-01 15:00:12 Re: TODO-Item: full timezone names