Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Strptime CPAN distribution.

Report information
The Basics
Id: 103147
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

Owner: Nobody in particular
Requestors: ether [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.60

Subject: %Y and %G must contain exactly four digits
Download (untitled) / with headers
text/plain 434b
DateTime::Format::Strptime's parsing of %Y and %G requires exactly four digits for the year - 3 or 5 digits are not parsed at all (lines 992 and 915 respectively, in version 1.56). This limitation is not documented; is it absolutely required (i.e. is DateTime incapable of processing times earlier than year 1000 or later than 9999)? I think this hard limitation in the parser should be lifted, or it should be clearly documented.

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

Please report any issues with to