web/request.py
changeset 10304 b6c55274135a
parent 10276 ffb269e60348
child 10305 937deb71a681
--- a/web/request.py	Wed Mar 25 08:43:00 2015 +0100
+++ b/web/request.py	Thu Mar 26 08:34:47 2015 +0100
@@ -811,8 +811,7 @@
         """
         mtime = self.get_header('If-modified-since', raw=False)
         if mtime:
-            # :/ twisted is returned a localized time stamp
-            return datetime.fromtimestamp(mtime) + GMTOFFSET
+            return datetime.utcfromtimestamp(mtime)
         return None
 
     ### outcoming headers