From 81af5990ae0abd293296c2bfc690cc9ade7cbd6a Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 23 Jul 2024 14:28:41 +0300 Subject: [PATCH] 1.1.42 Fix date formatting issue in template --- templates/blocks/profile/b_new_route.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/blocks/profile/b_new_route.html b/templates/blocks/profile/b_new_route.html index b634a1e..c59fd3e 100644 --- a/templates/blocks/profile/b_new_route.html +++ b/templates/blocks/profile/b_new_route.html @@ -110,7 +110,7 @@ id="id_departure_DT" name="departure_DT" placeholder="{% translate "Выберите дату и время" %}" {% if form.initial.departure_DT %} - value="{{ form.initial.departure_DT|date:"d.m.Y H:m" }}"{% endif %}/> + value="{{ form.initial.departure_DT|date:"d.m.Y H:i" }}"{% endif %}/>
{% if not errors_off and form.errors and form.errors.departure_DT %} @@ -147,7 +147,7 @@ id="id_arrival_DT" name="arrival_DT" placeholder="{% translate "Выберите дату и время" %}" {% if form.initial.arrival_DT %} - value="{{ form.initial.arrival_DT|date:"d.m.Y H:m" }}"{% endif %}/> + value="{{ form.initial.arrival_DT|date:"d.m.Y H:i" }}"{% endif %}/>
{# end #}