Don't zero-pad day of the month.

This commit is contained in:
Karsten Loesing 2014-02-08 12:03:27 +01:00
parent 3bea0fff79
commit 749ead79ad

View 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: