mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-19 08:40:20 +00:00
Use 'GMT' instead of +0000 notation.
This commit is contained in:
1 parent
f57714c1d7
commit
691a3f5e2e
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user