[Buildbot-commits] buildbot/buildbot/status/web waterfall.py, 1.25, 1.26

Brian Warner warner at users.sourceforge.net
Thu Nov 22 00:20:14 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/status/web
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17319/buildbot/status/web

Modified Files:
	waterfall.py 
Log Message:
[project @ waterfall: fix DST calculation. Closes #137.]

Original author: warner at lothar.com
Date: 2007-11-22 00:18:06+00:00

Index: waterfall.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/waterfall.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- waterfall.py	30 Sep 2007 21:16:41 -0000	1.25
+++ waterfall.py	22 Nov 2007 00:20:12 -0000	1.26
@@ -500,7 +500,7 @@
         data += " </tr>\n"
         
         data += " <tr>\n"
-        TZ = time.tzname[time.daylight]
+        TZ = time.tzname[time.localtime()[-1]]
         data += td("time (%s)" % TZ, align="center", class_="Time")
         data += td('<a href="%s">changes</a>' % request.childLink("../changes"),
                    align="center", class_="Change")





More information about the Commits mailing list