From 188ac5729bf05f75fb09f507fc21a9d21ba0d073 Mon Sep 17 00:00:00 2001 From: distix ticketing system Date: Sun, 28 May 2017 22:36:33 +0000 Subject: imported mails --- .../Maildir/new/1496010993.M269829P512Q2.koom | 55 +++++++++++++++++++ .../Maildir/new/1496010993.M27229P512Q1.koom | 64 ++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M269829P512Q2.koom create mode 100644 tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M27229P512Q1.koom 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: +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 ; 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 +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 +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 + diff --git a/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M27229P512Q1.koom b/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M27229P512Q1.koom new file mode 100644 index 0000000..d4ea56e --- /dev/null +++ b/tickets/d533923afa4648bea9dd55cc7302e68c/Maildir/new/1496010993.M27229P512Q1.koom @@ -0,0 +1,64 @@ +Return-Path: +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 E7CD541451 + for ; Sun, 28 May 2017 22:35:15 +0000 (UTC) +Received: by gpm.stappers.nl (Postfix, from userid 1000) + id 99C7F304035; Mon, 29 May 2017 00:35:15 +0200 (CEST) +Date: Mon, 29 May 2017 00:35:15 +0200 +From: Geert Stappers +To: tickets@distix.eu +Subject: Re: Ticket dates - come from import date? +Message-ID: <20170528223515.GN32244@gpm.stappers.nl> +References: <20170528060929.GC17621@gpm.stappers.nl> + <20170528063231.GU32244@gpm.stappers.nl> + <20170528223018.GM32244@gpm.stappers.nl> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +In-Reply-To: <20170528223018.GM32244@gpm.stappers.nl> +User-Agent: Mutt/1.5.21 (2010-09-15) + +On Mon, May 29, 2017 at 12:30:18AM +0200, Geert Stappers wrote: +> 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) + +Now retransmitting the patch + +> From: Geert Stappers +> 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 +> + +-- +Groeten +Geert Stappers +-- +Leven en laten leven -- cgit v1.2.1