[Buildbot-commits] buildbot/buildbot/status html.py,1.57,1.58

Brian Warner warner at users.sourceforge.net
Tue Apr 26 20:25:33 UTC 2005


Update of /cvsroot/buildbot/buildbot/buildbot/status
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19248/buildbot/status

Modified Files:
	html.py 
Log Message:
* buildbot/status/html.py (WaterfallStatusResource.body): add the
timezone to the timestamp column.
* buildbot/test/test_web.py (WebTest.test_waterfall): test it


Index: html.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/html.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- html.py	26 Apr 2005 06:32:09 -0000	1.57
+++ html.py	26 Apr 2005 20:25:30 -0000	1.58
@@ -907,7 +907,8 @@
         data += " </tr>\n"
         
         data += " <tr>\n"
-        data += td("time", align="center", class_="Time")
+        TZ = time.tzname[time.daylight]
+        data += td("time (%s)" % TZ, align="center", class_="Time")
         name = changeNames[0]
         data += td(
                 "<a href=\"%s\">%s</a>" % (urllib.quote(name), name),





More information about the Commits mailing list