From 33445b2d2178922ea510b74c6e66c3a02a40c381 Mon Sep 17 00:00:00 2001 From: Kostya Intsyn Date: Fri, 1 Sep 2023 12:58:40 +0300 Subject: [PATCH] INTECH-596: fix sorting by dates --- its_on/templates/switches/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/its_on/templates/switches/index.html b/its_on/templates/switches/index.html index 21a36ad..d64eeef 100644 --- a/its_on/templates/switches/index.html +++ b/its_on/templates/switches/index.html @@ -70,28 +70,28 @@

Switches list

{% if flag.created_at %} - {{ flag.created_at.strftime('%d-%m-%Y') }} + {{ flag.created_at.strftime('%Y-%m-%d') }} {% else %} - {% endif %} {% if flag.updated_at %} - {{ flag.updated_at.strftime('%d-%m-%Y') }} + {{ flag.updated_at.strftime('%Y-%m-%d') }} {% else %} - {% endif %} {% if flag.estimate_at %} - {{ flag.estimate_at.strftime('%d-%m-%Y') }} + {{ flag.estimate_at.strftime('%Y-%m-%d') }} {% else %} - {% endif %} {% if flag.deleted_at %} - {{ flag.deleted_at.strftime('%d-%m-%Y') }} + {{ flag.deleted_at.strftime('%Y-%m-%d') }} {% else %} - {% endif %}