Better way to express the updated date.

This commit is contained in:
Steven Black
2016-02-16 11:24:45 -05:00
parent 916bece3c7
commit f57714c1d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -333,7 +333,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("%Y %B %d at %H:%M:%S +0000", time.gmtime()))
line = line.replace( '@GEN_DATE@', time.strftime("%B %d %Y at %H:%M:%S +0000", time.gmtime()))
out.write(line.replace('@NUM_ENTRIES@', "{:,}".format(numberOfRules)))
def moveHostsFileIntoPlace(finalFile):