handlers.py
changeset 116 81da986f6ed5
parent 115 751e3fcd11d2
child 117 f0b4097f5781
equal deleted inserted replaced
115:751e3fcd11d2 116:81da986f6ed5
   203 @preferences.handler(prefs.count)
   203 @preferences.handler(prefs.count)
   204 def channel_date (request, channel, date, count, page=1, type=None) :
   204 def channel_date (request, channel, date, count, page=1, type=None) :
   205     """
   205     """
   206         Display all log data for the given date
   206         Display all log data for the given date
   207     """
   207     """
       
   208     
       
   209     # convert date to user's timezone
       
   210     date = date.astimezone(request.prefs['timezone'])
   208 
   211 
   209 #    print
   212 #    print
   210 #    print "channel_date: date=%s" % date
   213 #    print "channel_date: date=%s" % date
   211 
   214 
   212     # get that day's events, either paged or not
   215     # get that day's events, either paged or not