Changed the constructor to interpret a single numeric argument
as an offset in seconds from the epoch. This means that DateTime(float(d)) != d where d is a DateTime. This inequality often held before, or worse, the above expression would often raise an error. I also changed the timeTime method to always return a value even if it might not be valid input to time.gmtime.
Showing
Please register or sign in to comment