aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2014-02-08 12:03:27 +0100
committerKarsten Loesing <karsten.loesing@gmx.net>2014-02-08 12:03:27 +0100
commit749ead79ad2edbfbdc4b200529fdf7aff17df5e1 (patch)
treedabd2c0a06596ee507fd106e7af6fcab631bc33a
parent3bea0fff79c5eadda05351f5d098daac6174caf2 (diff)
downloadtor-749ead79ad2edbfbdc4b200529fdf7aff17df5e1.tar
tor-749ead79ad2edbfbdc4b200529fdf7aff17df5e1.tar.gz
Don't zero-pad day of the month.
-rw-r--r--src/config/mmdb-convert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py
index b89ab0b50..21a82bab5 100644
--- a/src/config/mmdb-convert.py
+++ b/src/config/mmdb-convert.py
@@ -422,7 +422,7 @@ def write_geoip_file(filename, metadata, the_tree, dump_item, fmt_item):
build_epoch = metadata[0].map['build_epoch'].int_val()
fobj.write("# Last updated based on %s Maxmind GeoLite2 Country\n"%
- time.strftime('%B %d %Y', time.gmtime(build_epoch)))
+ time.strftime('%B %-d %Y', time.gmtime(build_epoch)))
unwritten = None
for entry in entries: