summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-02-24 17:51:36 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-02-24 17:51:36 +0000
commitc1aa70e228c72173f8640326ba337c74b4ca30b3 (patch)
tree6fbaf8018d88ddb5381111ebb313726d7a7cdbd1
parentc5eae90d75e7752c9d812f6b92d04c9179ebc590 (diff)
downloadlorry-controller-c1aa70e228c72173f8640326ba337c74b4ca30b3.tar.gz
Add time zone to status time stamp
-rwxr-xr-xlorry-controller-webapp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorry-controller-webapp b/lorry-controller-webapp
index 3b73527..468f941 100755
--- a/lorry-controller-webapp
+++ b/lorry-controller-webapp
@@ -374,7 +374,7 @@ class StatusRenderer(object):
status = {
'quote': '%s' % random.choice(quotes),
'running_queue': statedb.get_running_queue(),
- 'timestamp': time.strftime('%Y-%m-%d %H:%M:%S'),
+ 'timestamp': time.strftime('%Y-%m-%d %H:%M:%S UTC', time.gmtime()),
'run_queue': self.get_run_queue(statedb),
}
status.update(self.get_free_disk_space(work_directory))