From 749ead79ad2edbfbdc4b200529fdf7aff17df5e1 Mon Sep 17 00:00:00 2001 From: Karsten Loesing Date: Sat, 8 Feb 2014 12:03:27 +0100 Subject: Don't zero-pad day of the month. --- src/config/mmdb-convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3