Skip Menu |

This queue is for tickets about the Time CPAN distribution.

Report information
The Basics
Id: 2705
Status: resolved
Priority: 0/
Queue: Time

People
Owner: Nobody in particular
Requestors: fmarshal [...] cs.ucla.edu
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.01
Fixed in: (no value)



Subject: time::local timegm glitch
Package Time::Local, function timegm, version 5.006 on Perl versions: 5.8.0 for Windows, 5.006 for Windows ME, and 5.005_03 built for sun4-solaris (SunOS landfair 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Fire-280R) I don't know the distribution name, I am guessing it is part of Perl itself? Code ran: use Time::Local print timegm; Problem is on range checking. It is May 31 locally, but June 1 in GMT. timegm thinks the day of month is 32 which it says is out of range. This may instead be in how it gets its default values.