diff roundup/cgi/templating.py @ 1463:a11e27d80737

If no hours info is provided to Date constructors... ...it defaults to local midnight, not GMT [SF#691434] fix in history displaying of date fields changes
author Andrey Lebedev <kedder@users.sourceforge.net>
date Sun, 23 Feb 2003 19:05:15 +0000
parents b72f422d1e5e
children 378081f066cc
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Sat Feb 22 06:47:04 2003 +0000
+++ b/roundup/cgi/templating.py	Sun Feb 23 19:05:15 2003 +0000
@@ -661,8 +661,6 @@
                             d = date.Date(args[k]).local(timezone)
                             cell.append('%s: %s'%(k, str(d)))
                             if current.has_key(k):
-                                if not current[k] == '(no value)' and current[k]:
-                                    current[k] = date.Date(current[k]).local(timezone)
                                 cell[-1] += ' -> %s' % current[k]
                                 current[k] = str(d)
 

Roundup Issue Tracker: http://roundup-tracker.org/