Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Change the "invalid" date to a "more invalid" date #6
I am hesitating about that extra test. The timezone '+200' is invalid according to ISO8601, and it is only due to the current sloppy default parsing in DateTime::Format::Strptime that this format is "permitted" and interpreted as '+2000' (not '+0200'). Dave Rolsky has already announced (https://metacpan.org/pod/DateTime::Format::Strptime) that he might change the default in the future, which would make your tests break again at some random time.