From a3ac83b67d5ead4a94482464efa9f1d82ae85edc Mon Sep 17 00:00:00 2001 From: Steven Black Date: Tue, 23 Feb 2016 09:30:34 -0500 Subject: [PATCH] More succinct formatting of the generation time. --- updateHostsFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateHostsFile.py b/updateHostsFile.py index 5fb711228..f2d5c1118 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -362,7 +362,7 @@ def writeOpeningHeader(finalFile): def updateReadme(numberOfRules): with open(README_FILE, "wt") as out: for line in open(README_TEMPLATE): - line = line.replace( '@GEN_DATE@', time.strftime("%B %d %Y at %H:%M:%S GMT", time.gmtime())) + line = line.replace( '@GEN_DATE@', time.strftime("%B %d %Y.", time.gmtime())) out.write(line.replace('@NUM_ENTRIES@', "{:,}".format(numberOfRules))) def moveHostsFileIntoPlace(finalFile):