More succinct formatting of the generation time.

This commit is contained in:
Steven Black
2016-02-23 09:30:34 -05:00
parent ffc17dd7fa
commit a3ac83b67d
+1 -1
View File
@@ -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):