Commit 7eac4785 authored by laron's avatar laron Committed by Simon Daron
Browse files

Debug bewteen datetime & datetime.datetime

parent 4ffef2f2
......@@ -14,7 +14,7 @@ class ProgramView(TemplateView):
days = []
for day in range(7):
days.append({'schedules': [x for x in schedules if x.is_on_weekday(day+1)],
'datetime': datetime.datetime(2007, 1, day+1)})
'datetime': datetime(2007, 1, day+1)})
context['days'] = days
return context
......@@ -33,7 +33,7 @@ class TimeCell:
self.schedules = []
def add_schedule(self, schedule):
end_time = schedule.datetime + datetime.timedelta(
end_time = schedule.datetime + timedelta(
minutes=schedule.emission.duration)
self.time_label = '%02d:%02d-%02d:%02d' % (
schedule.datetime.hour,
......
......@@ -26,6 +26,10 @@
color:#999;
}
/* FONTS */
#player .current{
font-family: "RegloBold";
}
#metaNav {
font-family: "Reglo";
text-transform: uppercase;
......
......@@ -41,7 +41,7 @@
<span class="icon-calendar" ></span>
<span class="iconLabel">Program</span>
</a></li>
<li><a href="{% url 'program' %}">
<li><a href="{% url 'grid' %}">
<span class="icon-th-large" ></span>
<span class="iconLabel">Grid</span>
</a></li>
......
......@@ -22,7 +22,7 @@
{% if schedule.rerun %} <span class="smooth">(rediff)</span> {% endif %}</div>
{% endfor %}
{% else %}
<div>Probably non-stop</div>
<div>Non-stop (probably)</div>
{% endif %}
</div>
<div class="metas">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment