Issue 1406861
Created on 2006-01-15 21:24 by dlinke, last changed 2006-01-19 20:02 by dlinke.
File name |
Uploaded |
Description |
Edit |
Remove |
templating.patch
|
dlinke,
2006-01-19 20:02
|
patch for templating.py |
|
|
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 ;-)
|
|
Date |
User |
Action |
Args |
2006-01-15 21:24:57 | dlinke | create | |
|