[Buildbot-commits] buildbot/buildbot/status/web slaves.py,1.4,1.5

Brian Warner warner at users.sourceforge.net
Tue Oct 16 16:34:28 UTC 2007


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

Modified Files:
	slaves.py 
Log Message:
[project @ /buildslaves: fix timestamp format (use %b for month, not %M). Closes #109.]

Original author: warner at lothar.com
Date: 2007-10-16 16:22:24+00:00

Index: slaves.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/status/web/slaves.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- slaves.py	30 Sep 2007 08:30:23 -0000	1.4
+++ slaves.py	16 Oct 2007 16:34:26 -0000	1.5
@@ -47,7 +47,7 @@
                     data += "  <li>Admin: %s</li>\n" % admin
                 last = slave.lastMessageReceived()
                 if last:
-                    lt = time.strftime("%Y-%M-%d %H:%M:%S",
+                    lt = time.strftime("%Y-%b-%d %H:%M:%S",
                                        time.localtime(last))
                     age = abbreviate_age(time.time() - last)
                     data += "  <li>Last heard from: %s " % age





More information about the Commits mailing list