commit: 4222ef114f8366c7c1865a5e02d9c5bdd0882b52
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 11 14:08:36 2017 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 14:08:36 2017 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-bumpchecker.git/commit/?id=4222ef11
gnome: Use UTC date for generation date note in output
modules/gnome_output.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gnome_output.py b/modules/gnome_output.py
index f1fcfdf..f127e6a 100644
--- a/modules/gnome_output.py
+++ b/modules/gnome_output.py
@@ -46,7 +46,7 @@ class Output:
# just time to generate some kind of "useful" output.
# for now, lets just make a crappy html file. ( this should use css
and the like )
# name, portage_version, gnome_version, status <-- is whats in the
PackageUpdate object
- current_time = str(time.asctime(time.localtime()))
+ current_time = str(time.asctime(time.gmtime()))
lines = []
@@ -60,7 +60,7 @@ class Output:
lines.append("<body>")
lines.append("<h2>Gnome " +
clioptions_module.Options().get_arguments().release_number + " Progress</h2>")
lines.append("contact " + os.environ["USER"] + "@gentoo.org if
anything is not correct<br>")
- lines.append("Generated date: " + current_time + "<br>")
+ lines.append("Generated UTC date: " + current_time + "<br>")
# stats
lines.append("<br>")