Roundup Tracker - Issues

Issue 691434

classification
Date editing doesn't correct display for timezone
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : kedder, richard, rouilj
Priority: normal :

Created on 2003-02-23 02:01 by rouilj, last changed 2003-02-26 05:16 by richard.

Messages
msg673 Author: [hidden] (rouilj) Date: 2003-02-23 02:01
Create a date hyperdb property on issue.
Set a timezone for the 
user (I use -5).

When in edit mode on an issue, enter a 
date.

It is interpreted with respect to the local 
timezone
which is correct, but it is not displayed with the 
timezone correction in the edit box. I.E. If I type in 2003-02-28,
I 
get 2003-02-27.19:00:00 with the user's timezone set
to -5. I 
use:

       <td tal:content="structure 
python:context.duedate.field(size=20)">
       duedate</td> 


to display the edit box. It should be displayed as:
2003-
02-28.00:00:00.

Maybe 
a:

python:context.duedate.field(size=20, 
tzcorrect=1)

like function is needed.
msg674 Author: [hidden] (kedder) Date: 2003-02-23 19:18
Logged In: YES 
user_id=218539

The problem was in date objects creation - when no hour info
was given roundup assumed that GMT midnight, not local was
provided.

I beleive it is fixed in cvs now. No modification of
templates is required.
msg675 Author: [hidden] (richard) Date: 2003-02-26 05:16
Logged In: YES 
user_id=6405

 
History
Date User Action Args
2003-02-23 02:01:35rouiljcreate