From: Karsten Loesing Date: Sat, 8 Feb 2014 11:03:27 +0000 (+0100) Subject: Don't zero-pad day of the month. X-Git-Tag: tor-0.2.5.3-alpha~74^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=749ead79ad2edbfbdc4b200529fdf7aff17df5e1;p=thirdparty%2Ftor.git Don't zero-pad day of the month. --- diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py index b89ab0b509..21a82bab59 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: