summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-03-11 16:08:36 +0200
committerMart Raudsepp <leio@gentoo.org>2017-03-11 16:08:36 +0200
commit4222ef114f8366c7c1865a5e02d9c5bdd0882b52 (patch)
tree948bb2e6ccabb3a3d4c2b8fcb5d3ce9dd816c8e7
parentgnome: Implement latest version retrieval based on GNOME infra cache.json files (diff)
downloadgentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.tar.gz
gentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.tar.bz2
gentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.zip
gnome: Use UTC date for generation date note in output
-rw-r--r--modules/gnome_output.py4
1 files 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>")