diff -r 37e67ec434f3 -r 95c0c49d76aa handlers.py --- a/handlers.py Wed Feb 11 22:01:53 2009 +0200 +++ b/handlers.py Wed Feb 11 22:24:55 2009 +0200 @@ -201,7 +201,7 @@ """ # fix date timezone - date = date.replace(tzinfo=timezone) + date = timezone.localize(date) # get that day's events, either paged or not if page : @@ -230,6 +230,10 @@ count = count, max = max, lines = lines, + + # for prev/next date + date_next = channel.source.get_next_date(date), + date_prev = channel.source.get_prev_date(date), ) @preferences.handler(prefs.formatter, prefs.count)