Comment 1 for bug 1071212

Revision history for this message
DragonDave (2-dragon) wrote :

Confirmed.
My problematic strings all start with "PM" - they're not dates, but it doesn't raise an exception for other non-date strings.

My understanding is that the "PM" string is being interpreted as "a time in the afternoon", and thus the number before it is having 12 added to it. This isn't valid if the value before it is None.

I can probably patch this, but will do so only if there is an indication that it'll be acted on.