diff -r 81da986f6ed5 -r f0b4097f5781 handlers.py --- a/handlers.py Thu Feb 12 00:31:34 2009 +0200 +++ b/handlers.py Thu Feb 12 00:57:39 2009 +0200 @@ -200,14 +200,14 @@ month = target, ) -@preferences.handler(prefs.count) -def channel_date (request, channel, date, count, page=1, type=None) : +@preferences.handler(prefs.count, prefs.timezone) +def channel_date (request, channel, date, count, timezone, page=1, type=None) : """ Display all log data for the given date """ # convert date to user's timezone - date = date.astimezone(request.prefs['timezone']) + date = timezone.localize(date) # print # print "channel_date: date=%s" % date