hooks/workflow.py
changeset 11033 63d860a14a17
parent 10907 9ae707db5265
--- a/hooks/workflow.py	Fri Dec 18 09:37:15 2015 +0100
+++ b/hooks/workflow.py	Fri Dec 18 09:23:23 2015 +0100
@@ -320,7 +320,7 @@
             return
         entity = self._cw.entity_from_eid(self.eidfrom)
         try:
-            entity.cw_set(modification_date=datetime.now())
+            entity.cw_set(modification_date=datetime.utcnow())
         except RepositoryError as ex:
             # usually occurs if entity is coming from a read-only source
             # (eg ldap user)