0.1.369 compare with current_date

This commit is contained in:
2024-04-12 15:43:09 +03:00
parent 1bb4aa04a6
commit 01f6136798
3 changed files with 24 additions and 3 deletions

View File

@@ -4,7 +4,13 @@
<div class="line_inf_about_moving">
<div class="carrier_inf_moving left">
<div>{% translate "Отправка:" %}</div>
<div class="from-to-city-text">{% if route.departure_DT %}{{ route.departure_DT|date:"l: d.m.Y H:i" }}{% else %}{% translate "Неизвестно" %}{% endif %}</div>
<div class="from-to-city-text">
{% if route.departure_DT %}
{{ route.departure_DT|date:"l: d.m.Y H:i" }}
{% else %}
{% translate "Неизвестно" %}
{% endif %}
</div>
</div>
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">