# HG changeset patch # User Tero Marttila # Date 1234391494 -7200 # Node ID 81da986f6ed5540da678569345fe0d6d2956e5aa # Parent 751e3fcd11d2855ec1f0860b970286efe12bfbe6 fix wrong timezone for channel_date diff -r 751e3fcd11d2 -r 81da986f6ed5 handlers.py --- a/handlers.py Thu Feb 12 00:16:52 2009 +0200 +++ b/handlers.py Thu Feb 12 00:31:34 2009 +0200 @@ -205,6 +205,9 @@ """ Display all log data for the given date """ + + # convert date to user's timezone + date = date.astimezone(request.prefs['timezone']) # print # print "channel_date: date=%s" % date