mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-28 14:54:44 +02:00
Fixed problem with wrong shown added date.
This commit is contained in:
parent
33ab9e5344
commit
72cd9a3722
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
|||
<label class="col-form-label col-md-3">{% trans %}createdAt{% endtrans %}</label>
|
||||
<div class="col-md-9">
|
||||
<p class="form-control-plaintext">
|
||||
{% if entity.addedDate %}
|
||||
{% if date(entity.addedDate) > date('1900/01/01') %}
|
||||
{{ entity.addedDate | localizeddate("long") }}
|
||||
{% else %}
|
||||
-
|
||||
|
@ -78,7 +78,7 @@
|
|||
<label class="col-form-label col-md-3">{% trans %}lastModified{% endtrans %}</label>
|
||||
<div class="col-md-9">
|
||||
<p class="form-control-plaintext">
|
||||
{% if entity.lastModified %}
|
||||
{% if date(entity.lastModified) > date('1900/01/01') %}
|
||||
{{ entity.lastModified | localizeddate("long") }}
|
||||
{% else %}
|
||||
-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue