web/views/editcontroller.py
changeset 11033 63d860a14a17
parent 10969 b4de8b1cc135
child 11127 6464edfa95bb
--- a/web/views/editcontroller.py	Fri Dec 18 09:37:15 2015 +0100
+++ b/web/views/editcontroller.py	Fri Dec 18 09:23:23 2015 +0100
@@ -373,7 +373,7 @@
     def check_concurrent_edition(self, formparams, eid):
         req = self._cw
         try:
-            form_ts = datetime.fromtimestamp(float(formparams['__form_generation_time']))
+            form_ts = datetime.utcfromtimestamp(float(formparams['__form_generation_time']))
         except KeyError:
             # Backward and tests compatibility : if no timestamp consider edition OK
             return