--- a/dataimport/test/test_stores.py Fri Dec 18 09:37:15 2015 +0100
+++ b/dataimport/test/test_stores.py Fri Dec 18 09:23:23 2015 +0100
@@ -75,7 +75,7 @@
metagen = stores.MetaGenerator(cnx)
# hijack gen_modification_date to ensure we don't go through it
metagen.gen_modification_date = None
- md = DT.datetime.now() - DT.timedelta(days=1)
+ md = DT.datetime.utcnow() - DT.timedelta(days=1)
entity, rels = metagen.base_etype_dicts('CWUser')
entity.cw_edited.update(dict(modification_date=md))
with cnx.ensure_cnx_set: