diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-02-24 17:51:36 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-02-24 17:51:36 +0000 |
commit | c1aa70e228c72173f8640326ba337c74b4ca30b3 (patch) | |
tree | 6fbaf8018d88ddb5381111ebb313726d7a7cdbd1 | |
parent | c5eae90d75e7752c9d812f6b92d04c9179ebc590 (diff) | |
download | lorry-controller-c1aa70e228c72173f8640326ba337c74b4ca30b3.tar.gz |
Add time zone to status time stamp
-rwxr-xr-x | lorry-controller-webapp | 2 |
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)) |