1
0
mirror of https://github.com/bspeice/metrik synced 2025-07-03 06:45:07 -04:00

Try setting timezone in Travis

This commit is contained in:
Bradlee Speice
2016-08-13 10:14:44 -04:00
parent 136aa6775e
commit 58044a878d
3 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class LiborRateTask(MongoCreateTask):
# the *time* is correct, but very often the date gets screwed up.
# When I download the CSV with Firefox I only see the times - when I
# download with `requests`, I see both date (often incorrect) and time.
logging.info('Received string for publication time: {}'.format(row['publication']))
dt = parse(row['publication'])
if dt.tzinfo is None:
# Seems like the messed up timezone is always America/New_York