Roundup Tracker - Issues

Issue 1406861

classification
Timezone not applied to date for pretty-format
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : dlinke, richard
Priority: normal :

Created on 2006-01-15 21:24 by dlinke, last changed 2006-01-19 20:02 by dlinke.

Files
File name Uploaded Description Edit Remove
templating.patch dlinke, 2006-01-19 20:02 patch for templating.py
Messages
msg2102 Author: [hidden] (dlinke) Date: 2006-01-15 21:24
Displaying the same date in the web-interface with
different mehtods (timezone +1), I get:

-format----------------------- displayed time -----
plain()                        2006-01-15.21:45:00
field()                        2006-01-15.21:45:00
field(format='%Y-%m-%d %H:%M') 2006-01-15 21:45
pretty('%Y-%m-%d %H:%M')       2006-01-15 20:45

The last line shows that pretty-format is broken (but
not for fields). The journal is correct. It also show
2006-01-15 21:45:00.
msg2103 Author: [hidden] (dlinke) Date: 2006-01-19 20:02
Logged In: YES 
user_id=734219

The pretty method did not call local for applying the
timezone offset like the other methods do. Attached is a
pretty patch ;-)
History
Date User Action Args
2006-01-15 21:24:57dlinkecreate