Front page

Re: Ticket dates - come from import date?

d533923afa4648bea9dd55cc7302e68c
STERLING CONCURRENT PHYSIQUE

From: Geert Stappers <stappers@stappers.nl>
Date: Sun, 28 May 2017 08:09:29 +0200

   FWIW: There is no timezone information in the date
   
   
   Regards
   Geert Stappers
   
   P.S.
   This email is also attempt to update an existing ticket
   without having Message-Ids
From: Geert Stappers <stappers@stappers.nl>
Date: Sun, 28 May 2017 08:32:31 +0200

   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)
   
   
   > Regards
   > Geert Stappers
   > 
   > P.S.
   > This email is also attempt to update an existing ticket
   > without having Message-Ids
   
   Testresult: No, it did not go
   to http://tickets.distix.eu/0e579b4659564f2fa1825f7b6f987f2e.html
   
   Request: Display  Message-Id in the HTML
     So new partisipants can join discussion on an existing ticket
   
   
   Groeten
   Geert Stappers
From: Geert Stappers <stappers@stappers.nl>
Date: Mon, 29 May 2017 00:30:18 +0200

   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 = {
From: Geert Stappers <stappers@stappers.nl>
Date: Mon, 29 May 2017 00:35:15 +0200

   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 <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
   >