Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Time-Local CPAN distribution.

Report information
The Basics
Id: 14104
Status: resolved
Priority: 0/
Queue: Time-Local

People
Owner: Nobody in particular
Requestors: siddesu [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.11
Fixed in: (no value)



Subject: Time::Local::gmtime 1.11 fails on winXP SP2
the following snippet: use Time::Local; Time::Local::timegm(1, 1, 1, 1, 0, 1966); fails with the message: Day too small - -1461 > 0 Sec too small - -1461 < 0 Cannot handle date (0, 0, 0, 1, 0, 1966) at t1.pl line 2 perl info: This is perl, v5.8.7 built for MSWin32-x86-multi-thread (with 7 registered patches, see perl -V for more detail) Binary build 813 [148120] provided by ActiveState Built Jun 6 2005 13:36:37 winxp: ver 5.1 build 2600.xpsp.050301-1521: SP2
Date: Thu, 11 Aug 2005 01:00:44 -0500 (CDT)
From: Dave Rolsky <autarch [...] urth.org>
To: Guest via RT <bug-Time-Local [...] rt.cpan.org>
Subject: Re: [cpan #14104] Time::Local::gmtime 1.11 fails on winXP SP2
RT-Send-Cc:
On Wed, 10 Aug 2005, Guest via RT wrote: Show quoted text
> > This message about Time-Local was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=14104 > > > the following snippet: > use Time::Local; > Time::Local::timegm(1, 1, 1, 1, 0, 1966); > > fails with the message: > Day too small - -1461 > 0 > Sec too small - -1461 < 0 > Cannot handle date (0, 0, 0, 1, 0, 1966) at t1.pl line 2 > > perl info: > This is perl, v5.8.7 built for MSWin32-x86-multi-thread > (with 7 registered patches, see perl -V for more detail) > Binary build 813 [148120] provided by ActiveState > Built Jun 6 2005 13:36:37
Windows is known to not work with pre-epoch (1/1/1970) dates. What were you expecting here? -dave /*=================================================== VegGuide.Org www.BookIRead.com Your guide to all that's veg. My book blog ===================================================*/