1
0
mirror of https://github.com/bspeice/metrik synced 2024-11-04 22:48:11 -05:00

Get timezone on travis

This commit is contained in:
Bradlee Speice 2016-08-13 00:13:52 -04:00
parent d2fd30304b
commit 11f0e75fe6

View File

@ -63,6 +63,7 @@ class LiborRateTask(MongoCreateTask):
logging.info('Received string for publication time: {}'.format(row['publication']))
dt = parse(row['publication'])
logging.info('Parsed datetime: {}'.format(dt))
logging.info('Parse timezone: {}'.format(dt.tzinfo))
dt = dt.replace(year=date.year, month=date.month, day=date.day)
globals()['publication'] = dt