]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Don't zero-pad day of the month.
authorKarsten Loesing <karsten.loesing@gmx.net>
Sat, 8 Feb 2014 11:03:27 +0000 (12:03 +0100)
committerKarsten Loesing <karsten.loesing@gmx.net>
Sat, 8 Feb 2014 11:03:27 +0000 (12:03 +0100)
src/config/mmdb-convert.py

index b89ab0b50936a64683b176d59aaa22c0347ca668..21a82bab592ba7074225f80f74e51de750598489 100644 (file)
@@ -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: