This one should be dt_to_utc, not db_to_utc, I believe

This commit is contained in:
Christopher Allan Webber 2015-02-17 19:42:11 -06:00
parent 0f79732002
commit e0713d9ccf

View File

@ -1221,7 +1221,7 @@ def datetime_to_utc(db):
notification_table = inspect_table(metadata, "core__notifications")
for notification in db.execute(notification_table.select()):
db.execute(notifiction_table.update().values(
created=db_to_utc(notification.created)
created=dt_to_utc(notification.created)
).where(notification_table.c.id==notification.id))
# Convert ReportBase