600. The fault
here seems to be with timegm(), not gmtime().
Lu
-Original Message-
From: Bill Ricker [mailto:bill.n1...@gmail.com]
Sent: Thursday, March 16, 2017 7:47 AM
To: Dave Rolsky
Cc: Lu Feng; datetime@perl.org
Subject: Re: FW: timelocal() discrepancy vs DateTime->epoch
> I'm pretty sure timelocal() is wrong here, though I'm not sure why. There
> was no DST transition in that zone in 1910. In fact, there wasn't really a
> time zone until 1918. The pre-1918 zone file in the Olson database is just
> using local solar time, but it's not very meaningful. If you really
On Tue, 14 Mar 2017, Lu Feng wrote:
I noticed that the UNIX time from timelocal() started to differ from that you
get from using DateTime module, for dates earlier than 11/6/1910.
For the America/New_York local timezone, timelocal() thinks there was a DST
switch on 11/6/1910, while DateTime
I noticed that the UNIX time from timelocal() started to differ from that
you get from using DateTime module, for dates earlier than 11/6/1910.
For the America/New_York local timezone, timelocal() thinks there was a DST
switch on 11/6/1910, while DateTime module thinks there was none.
If you ru