mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 11:19:33 +00:00
Use format_datetime filters from twig core instead of deprecated twig/extensions
This commit is contained in:
parent
26fe946de3
commit
cd5f099965
12 changed files with 19 additions and 100 deletions
|
|
@ -37,7 +37,7 @@
|
|||
<h6>
|
||||
{% if lot.expirationDate %}
|
||||
<span class="badge badge-info" title="{% trans %}part_lots.expiration_date{% endtrans %}">
|
||||
<i class="fas fa-calendar-alt fa-fw"></i> {{ lot.expirationDate | localizeddate }}
|
||||
<i class="fas fa-calendar-alt fa-fw"></i> {{ lot.expirationDate | format_datetime }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if lot.expired %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue