Fix de l'affichage des dates sur les absences
This commit is contained in:
parent
619d219b15
commit
ca5a094d35
1 changed files with 4 additions and 2 deletions
|
@ -11,6 +11,8 @@
|
|||
{% endif %}
|
||||
{% if entry['bf_date_debut'] == entry['bf_date_fin'] %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y") }}
|
||||
{% elseif entry['bf_date_debut']|date("m/d/Y") == entry['bf_date_fin']|date("m/d/Y") %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y H:i") }} - {{ entry['bf_date_fin']|date("H:i") }}
|
||||
{% else %}
|
||||
{{ entry['bf_date_debut']|date("m/d/Y H:i") }} - {{ entry['bf_date_fin']|date("m/d/Y H:i") }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue