From: Steven Black Date: Tue, 16 Feb 2016 16:26:17 +0000 (-0500) Subject: Use 'GMT' instead of +0000 notation. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=691a3f5e2e64a1be01a893e863947c5d1b76ffe2;p=stevenblack-hosts.git Use 'GMT' instead of +0000 notation. --- diff --git a/readme.md b/readme.md index ca4d13b28..22d14997c 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 **February 16 2016 at 16:24:18 +0000**. +* Source data was updated, and the amalgamated hosts file was generated, on **February 16 2016 at 16:25:43 GMT**. * 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 f27235c57..aeb9eac0f 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("%B %d %Y at %H:%M:%S +0000", time.gmtime())) + line = line.replace( '@GEN_DATE@', time.strftime("%B %d %Y at %H:%M:%S GMT", time.gmtime())) out.write(line.replace('@NUM_ENTRIES@', "{:,}".format(numberOfRules))) def moveHostsFileIntoPlace(finalFile):