From: Christopher Allan Webber Date: Wed, 18 Feb 2015 01:42:11 +0000 (-0600) Subject: This one should be dt_to_utc, not db_to_utc, I believe X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e0713d9ccf30b69d34fe1f885c710c1615a0d723;p=mediagoblin.git This one should be dt_to_utc, not db_to_utc, I believe --- diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 3102801e..886632de 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -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