diff options
-rw-r--r-- | pym/portage/elog/mod_mail_summary.py | 2 | ||||
-rw-r--r-- | pym/portage/elog/mod_save_summary.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/elog/mod_mail_summary.py b/pym/portage/elog/mod_mail_summary.py index 5b554a7bf..2e870fe5d 100644 --- a/pym/portage/elog/mod_mail_summary.py +++ b/pym/portage/elog/mod_mail_summary.py @@ -12,7 +12,7 @@ _items = {} def process(mysettings, key, logentries, fulltext): global _items header = ">>> Messages generated for package %s by process %d on %s:\n\n" % \ - (key, os.getpid(), time.strftime("%Y%m%d-%H%M%S", time.gmtime(time.time()))) + (key, os.getpid(), time.strftime("%Y%m%d-%H%M%S %Z", time.localtime(time.time()))) config_root = mysettings["PORTAGE_CONFIGROOT"] mysettings, items = _items.setdefault(config_root, (mysettings, {})) items[key] = header + fulltext diff --git a/pym/portage/elog/mod_save_summary.py b/pym/portage/elog/mod_save_summary.py index ee40731df..3a062dd12 100644 --- a/pym/portage/elog/mod_save_summary.py +++ b/pym/portage/elog/mod_save_summary.py @@ -19,7 +19,7 @@ def process(mysettings, key, logentries, fulltext): elogfile = open(elogfilename, "a") apply_permissions(elogfilename, mode=060, mask=0) elogfile.write(">>> Messages generated by process %d on %s for package %s:\n\n" % \ - (os.getpid(), time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime(time.time())), key)) + (os.getpid(), time.strftime("%Y-%m-%d %H:%M:%S %Z", time.localtime(time.time())), key)) elogfile.write(fulltext) elogfile.write("\n") elogfile.close() |