Skip to content

Commit 723625c

Browse files
committed
Run that runs today is still current
1 parent 4e40b93 commit 723625c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

naucse/templates/run_list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h4>
2727
<h1>Aktuální kurzy</h1>
2828
{% for year, run_year in run_years.items() %}
2929
{% for run in run_year.runs.values() | sort(attribute='start_date', reverse=True)
30-
if run.end_date > today %}
30+
if run.end_date >= today %}
3131
{{ show_run(run) }}
3232
{% endfor %}
3333
{% endfor %}
@@ -36,7 +36,7 @@ <h1>Proběhlé kurzy</h1>
3636
{% for year, run_year in run_years.items() %}
3737
<h2>{{ year }}</h2>
3838
{% for run in run_year.runs.values() | sort(attribute='start_date', reverse=True)
39-
if run.end_date <= today %}
39+
if run.end_date < today %}
4040
{{ show_run(run) }}
4141
{% endfor %}
4242
{% endfor %}

0 commit comments

Comments
 (0)