From f57714c1d7be62c056f03ff7710a641ca05f5565 Mon Sep 17 00:00:00 2001 From: Steven Black Date: Tue, 16 Feb 2016 11:24:45 -0500 Subject: [PATCH] Better way to express the updated date. --- readme.md | 2 +- updateHostsFile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 4093d30d9..ca4d13b28 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ with duplicates removed. You can [download the resultant amalgamated hosts file **Details about this amalgamated hosts file:** -* Source data was updated, and the amalgamated hosts file was generated, on **2016 February 16 at 16:20:30 +0000**. +* Source data was updated, and the amalgamated hosts file was generated, on **February 16 2016 at 16:24:18 +0000**. * Currently this amalgamated hosts file contains **27,139 unique entries**. ## Goals of this amalgamated hosts file diff --git a/updateHostsFile.py b/updateHostsFile.py index 654e0135c..f27235c57 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -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):