[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Don't zero-pad day of the month.
commit 749ead79ad2edbfbdc4b200529fdf7aff17df5e1
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Sat Feb 8 12:03:27 2014 +0100
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 b89ab0b..21a82ba 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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits