Skip Menu |

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 106105
Status: open
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
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.