User Tools

Site Tools


community:bug_use_datetime_not_time

Bug: Use Datetime and not Time (Python)

The code currently uses python's time library. This is to gain access to the strptime function, which converts a string into a datetime object. However, time is very limited and its strptime function cannot handle offsets (e.g. %z in datetime.strptime). This offset feature is needed to handle time strings. Switch the code to use datetime and not time.

Reported by: Jon Robbins (http://jrobb.org)

community/bug_use_datetime_not_time.txt · Last modified: 2014/08/26 21:39 by sekula