mjaquilina / Date-RangeParser-EN

Parses user-provided date range strings. (@GrantStreetGroup has kindly taken over CPAN maintainership of this module.)
0 stars 2 forks source link

Date::Manip v5.xx doesn't handle #-# dates properly, skip'em #2

Closed zostay closed 12 years ago

zostay commented 12 years ago

I had this installed somewhere that had an ancient, truly ancient version of Date::Manip installed. Date::Manip before v6 doesn't handle dates that contain dashes very well. It seems to assume they must always be in some variant of ISO-8601 format.

We could make sure to handle that case correctly or we can just let people using ancient versions of Date::Manip suffer for it... I opted for the latter and just skipped the tests that fail when an old Date::Manip is installed.