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:
parent
d2fd30304b
commit
11f0e75fe6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user