Skip to content

Commit

Permalink
Merge pull request #41 from intsynko/master
Browse files Browse the repository at this point in the history
INTECH-596: fix sorting by dates
  • Loading branch information
sergey-jerzy authored Sep 1, 2023
2 parents 396c631 + 33445b2 commit f0b1cb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions its_on/templates/switches/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,28 +70,28 @@ <h2>Switches list</h2>
</td>
<td>
{% if flag.created_at %}
{{ flag.created_at.strftime('%d-%m-%Y') }}
{{ flag.created_at.strftime('%Y-%m-%d') }}
{% else %}
-
{% endif %}
</td>
<td>
{% if flag.updated_at %}
{{ flag.updated_at.strftime('%d-%m-%Y') }}
{{ flag.updated_at.strftime('%Y-%m-%d') }}
{% else %}
-
{% endif %}
</td>
<td>
{% if flag.estimate_at %}
{{ flag.estimate_at.strftime('%d-%m-%Y') }}
{{ flag.estimate_at.strftime('%Y-%m-%d') }}
{% else %}
-
{% endif %}
</td>
<td>
{% if flag.deleted_at %}
{{ flag.deleted_at.strftime('%d-%m-%Y') }}
{{ flag.deleted_at.strftime('%Y-%m-%d') }}
{% else %}
-
{% endif %}
Expand Down

0 comments on commit f0b1cb7

Please sign in to comment.