Merge pull request #379 from eReuse/changes/3925-datatime-representation

change representation data times
This commit is contained in:
cayop 2022-10-10 13:50:31 +02:00 committed by GitHub
commit 3914e72463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -431,7 +431,7 @@
<thead>
<tr>
<th scope="col">File</th>
<th scope="col" data-type="date" data-format="DD-MM-YYYY">Uploaded on</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Uploaded on</th>
</tr>
</thead>
<tbody>
@ -445,7 +445,7 @@
{% endif %}
</td>
<td>
{{ doc.created.strftime('%H:%M %d-%m-%Y')}}
{{ doc.created.strftime('%Y-%m-%d %H:%M')}}
</td>
</tr>
{% endfor %}
@ -459,7 +459,7 @@
{% endif %}
</td>
<td>
{{ doc.created.strftime('%H:%M %d-%m-%Y')}}
{{ doc.created.strftime('%Y-%m-%d %H:%M')}}
</td>
</tr>
{% endfor %}

View File

@ -30,7 +30,7 @@
<th scope="col">Type Upload</th>
<th scope="col">DHID</th>
<th scope="col">Status</th>
<th scope="col" data-type="date" data-format="DD-MM-YYYY">Time</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Time</th>
</tr>
</thead>
<tbody>
@ -53,7 +53,7 @@
<td>
{{ log.get_status() }}
</td>
<td>{{ log.created.strftime('%H:%M %d-%m-%Y') }}</td>
<td>{{ log.created.strftime('%Y-%m-%d %H:%M') }}</td>
</tr>
{% endfor %}
</tbody>

View File

@ -34,7 +34,7 @@
<th scope="col">Type Upload</th>
<th scope="col">Type Device</th>
<th scope="col">Original DHID</th>
<th scope="col" data-type="date" data-format="DD-MM-YYYY">Time</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Time</th>
<th scope="col"></th>
</tr>
</thead>
@ -80,7 +80,7 @@
<td>
{{ snap.original_dhid }}
</td>
<td>{{ snap.created.strftime('%H:%M %d-%m-%Y') }}</td>
<td>{{ snap.created.strftime('%Y-%m-%d %H:%M') }}</td>
<td>
{% if snap.snapshot_uuid %}
<a href="{{ url_for('inventory.export', export_id='snapshot') }}?id={{ snap.snapshot_uuid }}" target="_blank">

View File

@ -47,7 +47,7 @@
<th scope="col">Type</th>
<th scope="col">Provider</th>
<th scope="col">Device</th>
<th scope="col">Created</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Created</th>
</tr>
</thead>
<tbody>
@ -63,7 +63,7 @@
</a>
{% endif %}
</td>
<td>{{ tag.created.strftime('%H:%M %d-%m-%Y') }}</td>
<td>{{ tag.created.strftime('%Y-%m-%d %H:%M') }}</td>
</tr>
{% endfor %}
</tbody>