equal
deleted
inserted
replaced
131 count = count, |
131 count = count, |
132 lines = lines, |
132 lines = lines, |
133 ) |
133 ) |
134 |
134 |
135 @preferences.handler(prefs.formatter, prefs.timezone, prefs.count) |
135 @preferences.handler(prefs.formatter, prefs.timezone, prefs.count) |
136 def channel_link (request, channel, timestamp, formatter, timezone, count) : |
136 def channel_link (request, channel, timestamp, formatter, timezone, count, type=None) : |
137 """ |
137 """ |
138 Display channel_date for specific UTC timestamp |
138 Display channel_date for specific UTC timestamp |
139 """ |
139 """ |
140 |
140 |
141 # convert timestamp to user's timezone |
141 # convert timestamp to user's timezone |
161 date = timestamp, |
161 date = timestamp, |
162 page = page, |
162 page = page, |
163 count = count, |
163 count = count, |
164 max = max, |
164 max = max, |
165 lines = lines, |
165 lines = lines, |
|
166 |
|
167 # for prev/next date |
|
168 date_next = channel.source.get_next_date(timestamp), |
|
169 date_prev = channel.source.get_prev_date(timestamp), |
166 ) |
170 ) |
167 |
171 |
168 @preferences.handler(prefs.timezone) |
172 @preferences.handler(prefs.timezone) |
169 def channel_calendar (request, channel, year, month, timezone) : |
173 def channel_calendar (request, channel, year, month, timezone) : |
170 """ |
174 """ |