templates/channel_calendar.tmpl
changeset 115 751e3fcd11d2
parent 114 d4848d807fd1
--- a/templates/channel_calendar.tmpl	Wed Feb 11 23:38:05 2009 +0200
+++ b/templates/channel_calendar.tmpl	Thu Feb 12 00:16:52 2009 +0200
@@ -44,9 +44,9 @@
         ## build date
         <% date = h.build_date(month, day) %>\
         ## render cell
-        <td${' id="today"' if h.is_today(date) else ''}${' class="empty"' if date not in log_dates else ''}>\
+        <td${' id="today"' if h.is_today(date) else ''}${' class="empty"' if date.date() not in log_dates else ''}>\
         ## link to logs for this day?
-        % if date in log_dates :
+        % if date.date() in log_dates :
 <a href="${urls.channel_date.build(req, channel=channel, date=date)}">${day}</a>\
         % else :
 ${day}\