server/checkintegrity.py
changeset 11033 63d860a14a17
parent 10847 ce5403611cbe
--- a/server/checkintegrity.py	Fri Dec 18 09:37:15 2015 +0100
+++ b/server/checkintegrity.py	Fri Dec 18 09:23:23 2015 +0100
@@ -372,8 +372,8 @@
                                    {'type': etype})
             continue
         table = SQL_PREFIX + etype
-        for rel, default in ( ('creation_date', datetime.now()),
-                              ('modification_date', datetime.now()), ):
+        for rel, default in ( ('creation_date', datetime.utcnow()),
+                              ('modification_date', datetime.utcnow()), ):
             column = SQL_PREFIX + rel
             cursor = cnx.system_sql("SELECT %s FROM %s WHERE %s is NULL"
                                         % (eidcolumn, table, column))