Subject: | Apparent Bug Parsing December Dates |
Date: | Thu, 11 Oct 2012 13:55:05 -0500 |
To: | bug-datetime-format-strptime [...] rt.cpan.org |
From: | James D Bearden <james [...] nontrivial.net> |
Hello,
I am trying to using version 1.5000 of DateTime::Format::Strptime to
parse dates, but I can't seem to parse any dates from 12/13 through
12/31. The year doesn't seem to matter. Any date before 12/13 seems to
work fine.
For example, $dt gets set to undef when I try:
my $Pattern = '%d/%m/%Y %O';
my $String = '12/15/2012 America/Chicago';
my $strp = DateTime::Format::Strptime->new( pattern => $Pattern );
my $dt = $strp->parse_datetime($String);
Am I crazy, am I doing something wrong, or is this a bug? If it is a
bug, can you please suggest a fix or work around?
--
James D Bearden
Nontrivial Solutions, LLC
http://www.nontrivial.net
mailto://james@nontrivial.net
(405) 593-8098