Closed mjumbewu closed 8 years ago
datetime objects already stored with timezones were causing dout to fail. localize should only be used on naive datetime values. This uses astimezone for timezone-aware objects.
datetime
dout
localize
astimezone
datetime
objects already stored with timezones were causingdout
to fail.localize
should only be used on naivedatetime
values. This usesastimezone
for timezone-aware objects.