The problem is when hour part is '-00", then int('-00') will return 0, and sign is lost. I made a patch:
60a61 > nagative = h[0] == '-' 64c65 < if h < 0:
> if nagative:
function TimeDelta_or_None() in MySQLdb.times module
Log in to post a comment.
The problem is when hour part is '-00", then int('-00') will return 0, and sign is lost. I made a patch:
60a61
> nagative = h[0] == '-'
64c65
< if h < 0:
> if nagative:
function TimeDelta_or_None() in MySQLdb.times module