Re: Indiana changes DST (4th Nov)

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Zdenek Kotala" <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Indiana changes DST (4th Nov)
Date: 2007-10-16 16:01:25
Message-ID: 87lka359re.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Zdenek Kotala" <Zdenek(dot)Kotala(at)Sun(dot)COM> writes:

> There are a lot of incoming DST or TZ changes (Venezuela, Brazil, Indiana...).
> Most hot is Indiana which will happen at 4th Nov.

Indiana is moving a few counties from one side of the line to another. The
rules for the zones themselves aren't changing, so I'm not sure we can do
anything to help them.

Actually that's kind of weird, it means any timestamps in your database will
display with the new timezone even though they occurred in the old one. And if
you do time arithmetic with things like now() - '7 days' you'll get the output
in the wrong timezone.

Does the database acquire new timezones for these counties with the rule for
when they changed?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-10-16 16:01:26 Re: pgsql: Add sample text search dictionary templates and parsers, to
Previous Message Bruce Momjian 2007-10-16 16:00:28 Re: Indiana changes DST (4th Nov)