diff options
Diffstat (limited to 'tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom')
-rw-r--r-- | tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom b/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom new file mode 100644 index 0000000..1f770ac --- /dev/null +++ b/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom @@ -0,0 +1,55 @@ +Return-Path: <stappers@stappers.nl> +X-Original-To: tickets@distix.eu +Delivered-To: distix@pieni.net +Received: from gpm.stappers.nl (gpm.stappers.nl [82.161.218.215]) + by pieni.net (Postfix) with ESMTP id 69CBF41ABD + for <tickets@distix.eu>; Sun, 28 May 2017 22:30:19 +0000 (UTC) +Received: by gpm.stappers.nl (Postfix, from userid 1000) + id DFA93304035; Mon, 29 May 2017 00:30:18 +0200 (CEST) +Date: Mon, 29 May 2017 00:30:18 +0200 +From: Geert Stappers <stappers@stappers.nl> +To: tickets@distix.eu +Subject: Re: Ticket dates - come from import date? +Message-ID: <20170528223018.GM32244@gpm.stappers.nl> +References: <20170528060929.GC17621@gpm.stappers.nl> + <20170528063231.GU32244@gpm.stappers.nl> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <20170528063231.GU32244@gpm.stappers.nl> +User-Agent: Mutt/1.5.21 (2010-09-15) + +On Sun, May 28, 2017 at 08:32:31AM +0200, Geert Stappers wrote: +> On Sun, May 28, 2017 at 08:09:29AM +0200, Geert Stappers wrote: +> > +> > FWIW: There is no timezone information in the date +> +> IMHO there should be TZ info in the webpages of the ticket. +> (the timezone information from the email should get into the HTML) +> + +From: Geert Stappers <stappers@stappers.nl> +Date: Mon, 29 May 2017 00:19:24 +0200 +Subject: [PATCH] plugins/html_plugin.py _format_timestamp() with timezone + +the %z is +hhmm numeric time zone (e.g., -0400) +--- + distixlib/plugins/html_plugin.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/distixlib/plugins/html_plugin.py b/distixlib/plugins/html_plugin.py +index 2ee8bd1..182b6ae 100644 +--- a/distixlib/plugins/html_plugin.py ++++ b/distixlib/plugins/html_plugin.py +@@ -91,7 +91,7 @@ class StaticSite(object): + self._copy_static_files() + + def _format_timestamp(self): +- return time.strftime('%Y-%d-%m %H:%M:%S') ++ return time.strftime('%Y-%d-%m %H:%M:%S %z') + + def _render_ticket_list(self, template, filename, condition): + variables = { +-- +2.11.0 + |