diff options
author | Mart Raudsepp <leio@gentoo.org> | 2017-03-11 16:08:36 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2017-03-11 16:08:36 +0200 |
commit | 4222ef114f8366c7c1865a5e02d9c5bdd0882b52 (patch) | |
tree | 948bb2e6ccabb3a3d4c2b8fcb5d3ce9dd816c8e7 /modules | |
parent | gnome: Implement latest version retrieval based on GNOME infra cache.json files (diff) | |
download | gentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.tar.gz gentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.tar.bz2 gentoo-bumpchecker-4222ef114f8366c7c1865a5e02d9c5bdd0882b52.zip |
gnome: Use UTC date for generation date note in output
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gnome_output.py | 4 |
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>") |