changeset 481:9c7e1d957d6b

sawmill: Not all displayed times are in UTC so the general 'Z's at all times/dates are removed. Now it is only mentioned that the times in the main table are in UTC. To reduce the optical noise this is done by simple comments in the date rows.
author Sascha Teichmann <teichmann@intevation.de>
date Sat, 18 Sep 2010 07:50:53 +0000
parents e97e8dd52a0c
children a89f73f7c965
files contrib/sawmill/web/templates/details.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/templates/details.html	Fri Sep 17 15:45:53 2010 +0000
+++ b/contrib/sawmill/web/templates/details.html	Sat Sep 18 07:50:53 2010 +0000
@@ -90,7 +90,7 @@
 
 def pretty_time(t, format="%H:%M:%S"):
     if not t: return "&lt;unknown&gt;"
-    return t.strftime(format)+"Z"
+    return t.strftime(format)
 
 def pretty_timedelta(a, b):
     if a is None or b is None: return "&lt;unknown&gt;"
@@ -150,7 +150,7 @@
     if curr_date != last_date:
         last_date = curr_date
 %>
-<tr class="date_row"><td colspan="6"><%= pretty_time(last_date, "%Y-%m-%d") %></td></tr>
+<tr class="date_row"><td colspan="6"><%= pretty_time(last_date, "%Y-%m-%d") %> (times in UTC)</td></tr>
 <%
     # date changed
 %>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)