Skip Menu |
 

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 106105
Status: new
Priority: 0/
Queue: TimeDate

People
Owner: Nobody in particular
Requestors: NHORNE [...] cpan.org
Cc:
AdminCc:

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



Subject: Date::Parse inconsistent year handling
Download (untitled) / with headers
text/plain 401b
This program: #!/usr/bin/env perl use strict; use warnings; use Date::Parse; my @t = strptime('1 Jan 1901 12:00'); print $t[5], "\n"; @t = strptime('1 Jan 1899 12:00'); print $t[5], "\n"; Prints: Nigels-MacBook-Pro:~ njh$ ./foo 1 1899 Nigels-MacBook-Pro:~ njh$ which is inconsistent to me. Maybe there is something deep in the documentation about this inconsistency, but I couldn't find it.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.