changeset 63:353912e12d53

merge
author Bernhard Herzog <bh@intevation.de>
date Tue, 10 Apr 2007 20:16:33 +0200
parents 9cb94b9ac6a6 (current diff) b076e3895482 (diff)
children 3c2e8cb7e658
files
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/report.py	Tue Apr 10 18:17:53 2007 +0200
+++ b/treepkg/report.py	Tue Apr 10 20:16:33 2007 +0200
@@ -7,6 +7,8 @@
 
 """Support for status reports"""
 
+import datetime
+
 from packager import create_package_track, PackagerGroup
 from readconfig import read_config
 
@@ -50,7 +52,7 @@
     is '<unknown>'.
     """
     if timestamp:
-        return str(timestamp)
+        return timestamp.strftime("%Y-%m-%d %H:%M:%SZ")
     else:
         return "<unknown>"
 
@@ -83,4 +85,5 @@
     revisions.reverse()
 
     return struct(columns=columns,
-                  revisions=revisions)
+                  revisions=revisions,
+                  date=format_time(datetime.datetime.utcnow()))
--- a/treepkg/web-status.html	Tue Apr 10 18:17:53 2007 +0200
+++ b/treepkg/web-status.html	Tue Apr 10 20:16:33 2007 +0200
@@ -47,7 +47,8 @@
       </py:for>
     </table>
 
-    All times are given in UTC.
+    <hr/>
+    report generated at ${report.date}
 
   </body>
 </html>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)