[pypy-svn] r61336 - pypy/build/bot2/pypybuildbot
pedronis at codespeak.net
pedronis at codespeak.net
Sun Jan 25 22:45:23 CET 2009
Author: pedronis
Date: Sun Jan 25 22:45:23 2009
New Revision: 61336
Modified:
pypy/build/bot2/pypybuildbot/summary.py
Log:
this should work in 2.4 hopefully
Modified: pypy/build/bot2/pypybuildbot/summary.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/summary.py (original)
+++ pypy/build/bot2/pypybuildbot/summary.py Sun Jan 25 22:45:23 2009
@@ -1,4 +1,4 @@
-import time, urlparse, urllib
+import time, datetime, urlparse, urllib
import py
html = py.xml.html
@@ -298,8 +298,8 @@
timing)
anchors.append(html.a(text, href=host_agnostic(info['URL'])))
if maxend is not None:
- mintxt = time.strftime("%d %b", minend+(0,)*6)
- maxtxt = time.strftime("%d %b", maxend+(0,)*6)
+ mintxt = datetime.date(*minend).strftime("%d %b")
+ maxtxt = datetime.date(*maxend).strftime("%d %b")
if maxend == minend:
anchors.append(' (%s)' % maxtxt)
else:
More information about the Pypy-commit
mailing list