mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-10-04 06:11:13 +01:00
Merge pull request #836 from spirillen/patch-1
Changes to the time.strftime to make it more accurate
This commit is contained in:
+1
-1
@@ -925,7 +925,7 @@ def write_opening_header(final_file, **header_params):
|
||||
write_data(final_file, "# This hosts file is a merged collection "
|
||||
"of hosts from reputable sources,\n")
|
||||
write_data(final_file, "# with a dash of crowd sourcing via Github\n#\n")
|
||||
write_data(final_file, "# Date: " + time.strftime("%B %d %Y", time.gmtime()) + "\n")
|
||||
write_data(final_file, "# Date: " + time.strftime("%d %B %Y %H:%M:%S (%Z)", time.gmtime()) + "\n")
|
||||
|
||||
if header_params["extensions"]:
|
||||
write_data(final_file, "# Extensions added to this file: " + ", ".join(
|
||||
|
||||
Reference in New Issue
Block a user