mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-26 04:49:32 +00:00
Fixed timezone issue related to expiration date. Also only date is editable and shown now.
Fixes issue #30.
This commit is contained in:
parent
7c424eb548
commit
7ed1836d59
2 changed files with 5 additions and 2 deletions
|
|
@ -36,7 +36,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 | format_datetime }}
|
||||
<i class="fas fa-calendar-alt fa-fw"></i> {{ lot.expirationDate | format_date() }}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if lot.expired %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue