id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10424	Replace propriatary tz handling	hasienda	martin_s	This traceback was been provided for advice on IRC tonight:\r\n{{{\r\n2012-10-03 13:53:12,425 Trac[main] ERROR: Internal Server Error:\r\nTraceback (most recent call last):\r\n  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 511, in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 237, in dispatch\r\n    resp = chosen_handler.process_request(req)\r\n  File "/usr/local/lib/python2.7/dist-packages/TracWatchlistPlugin-1.0-py2.7.egg/tracwatchlist/plugin.py", line 589, in process_request\r\n    offset = req.tz.utcoffset(datetime.now(req.tz))\r\n  File "/usr/lib/python2.7/dist-packages/pytz/tzinfo.py", line 401, in utcoffset\r\n    dt = self.localize(dt, is_dst)\r\n  File "/usr/lib/python2.7/dist-packages/pytz/tzinfo.py", line 299, in localize\r\n    raise ValueError('Not naive datetime (tzinfo is already set)')\r\nValueError: Not naive datetime (tzinfo is already set)\r\n}}}\r\n\r\nSeems like recent changes to Trac break current code, as hinted by osimons.\r\n\r\nBetter use functions from trac.util.datefmt for what is needed by the plugin.	defect	new	normal	WatchlistPlugin	normal		timezone time-stamp	rjollos	1.0
