[Treepkg-commits] r441 - trunk/contrib/sawmill/web/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sat Sep 18 09:50:53 CEST 2010
Author: teichmann
Date: 2010-09-18 09:50:53 +0200 (Sat, 18 Sep 2010)
New Revision: 441
Modified:
trunk/contrib/sawmill/web/templates/details.html
Log:
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.
Modified: trunk/contrib/sawmill/web/templates/details.html
===================================================================
--- trunk/contrib/sawmill/web/templates/details.html 2010-09-17 15:45:53 UTC (rev 440)
+++ trunk/contrib/sawmill/web/templates/details.html 2010-09-18 07:50:53 UTC (rev 441)
@@ -90,7 +90,7 @@
def pretty_time(t, format="%H:%M:%S"):
if not t: return "<unknown>"
- return t.strftime(format)+"Z"
+ return t.strftime(format)
def pretty_timedelta(a, b):
if a is None or b is None: return "<unknown>"
@@ -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
%>
More information about the Treepkg-commits
mailing list