[pypy-svn] r20427 - pypy/dist/pypy/doc/statistic

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Nov 30 13:00:29 CET 2005


Author: cfbolz
Date: Wed Nov 30 13:00:28 2005
New Revision: 20427

Modified:
   pypy/dist/pypy/doc/statistic/format.py
Log:
use middle of month



Modified: pypy/dist/pypy/doc/statistic/format.py
==============================================================================
--- pypy/dist/pypy/doc/statistic/format.py	(original)
+++ pypy/dist/pypy/doc/statistic/format.py	Wed Nov 30 13:00:28 2005
@@ -34,7 +34,7 @@
 def parsedate(s):
     if len(s) <= 7:
         year, month = s.split("-")
-        result = datetime.datetime(int(year), int(month), 1)
+        result = datetime.datetime(int(year), int(month), 15)
     else:
         result = parser.parse(s)
     return pylab.date2num(result)



More information about the Pypy-commit mailing list