EWS bubble hover shows wrong timestamps
[WebKit-https.git] / Tools / QueueStatusServer / handlers / queuestatusjson.py
index 3f1fcf2..473c98c 100644 (file)
@@ -116,5 +116,5 @@ class QueueStatusJSON(webapp.RequestHandler):
             "queue": self._rows_for_work_items(queue),
             "bots": self._bots(queue),
         }
-        dthandler = lambda obj: obj.isoformat() if isinstance(obj, datetime.datetime) or isinstance(obj, datetime.date) else None
+        dthandler = lambda obj: obj.isoformat() + "Z" if isinstance(obj, datetime.datetime) or isinstance(obj, datetime.date) else None
         self.response.out.write(json.dumps(status, default=dthandler))