changeset 60:ee32f709a374

add Z suffix to all times in status reports
author Bernhard Herzog <bh@intevation.de>
date Tue, 10 Apr 2007 20:14:01 +0200
parents 39b2deea8481
children 8ce9607eefbb
files treepkg/report.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/report.py	Tue Apr 10 17:42:46 2007 +0200
+++ b/treepkg/report.py	Tue Apr 10 20:14:01 2007 +0200
@@ -50,7 +50,7 @@
     is '<unknown>'.
     """
     if timestamp:
-        return str(timestamp)
+        return timestamp.strftime("%Y-%m-%d %H:%M:%SZ")
     else:
         return "<unknown>"
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)