blob: ddfa970e6c339ab717eb6ac1f7b7fa3f01571a84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<span>
{{ choice.start_datetime.strftime("%a %d.%m") }}
</span>
<span>
{% if now.year != choice.start_datetime.year %}.{{choice.start_datetime.year}}{% endif %}
</span>
<span>
{% if not poll.is_whole_day %}{{ choice.start_datetime.strftime("%H:%M") }}{% endif %}
</span>
{% if (poll.is_whole_day and not choice.ends_on_same_day()) or (not poll.is_whole_day and not choice.ends_at_same_datetime()) %}
<span>—</span>
{% endif %}
{% if not choice.ends_on_same_day() %}
<span>
{{ choice.end_datetime.strftime("%a %d.%m") }}
</span>
<span>
{% if now.year != choice.end_datetime.year %}.{{choice.end_datetime.year}}{% endif %}
</span>
{% endif %}
<span>
{% if not poll.is_whole_day %}{{ choice.end_datetime.strftime("%H:%M") }}{% endif %}
</span>
|