parse doesn't raise an error on string with impossible date
Bug #1446460 reported by
James Pulec
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dateutil |
New
|
Undecided
|
Unassigned |
Bug Description
When using parse, if you pass a string such as "Mon Jan 6th, 2015 12:00:00 PST" dateutil just chugs along happily, despite the fact that this isn't a real datetime, since in 2015, the first Monday in January was the 5th.
To post a comment you must log in.