Commit 5f0aaf4c authored by gijs's avatar gijs

Date details

parent 1ee14017
......@@ -36,9 +36,13 @@
<a href="{% url 'contour:event' event.pk %}">
{% if day.multiday %}
{% if event.show_hours %}
{{ event.start|date:"j M H:i" }}{% if event.end %} - {{ event.end|date:"j M H:i" }}{% endif %}
{% if event.multiday %}
{{ event.start|date:"j M H:i" }}{% if event.end %} - {{ event.end|date:"j M H:i" }}{% endif %}
{% else %}
{{ event.start|date:"j M H:i" }}{% if event.end %} - {{ event.end|date:"H:i" }}{% endif %}
{% endif %}
{% else %}
{{ event.start|date:"j M" }}{% if event.end %} - {{ event.end|date:"j M" }}{% endif %}
{{ event.start|date:"j M" }}{% if event.end and event.multiday %} - {{ event.end|date:"j M" }}{% endif %}
{% endif %}
{% else %}
{% if event.show_hours %}
......
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