[Pypi-checkins] r843 - trunk/appengine
martin.von.loewis
python-checkins at python.org
Fri Aug 6 16:47:32 CEST 2010
Author: martin.von.loewis
Date: Fri Aug 6 16:47:32 2010
New Revision: 843
Modified:
trunk/appengine/stats.py
Log:
Fix date formatting.
Modified: trunk/appengine/stats.py
==============================================================================
--- trunk/appengine/stats.py (original)
+++ trunk/appengine/stats.py Fri Aug 6 16:47:32 2010
@@ -2,4 +2,4 @@
def today():
now = datetime.datetime.utcnow()
- return "%s-%.2s-%.2s" % (now.year, now.month, now.day)
+ return "%s-%.2d-%.2d" % (now.year, now.month, now.day)
More information about the Pypi-checkins
mailing list