added formating to the dates

This commit is contained in:
Rostislav Raykov
2024-10-29 21:12:47 +02:00
parent eed5683aa9
commit 26378a110b
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@
Uploaded/Renewed
At:</h5>
<p class="card-text mb-0"
th:text="${file.uploadDate}"></p>
th:text="${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}"></p>
</div>
<small class="text-muted"
th:if="${file.keepIndefinitely == false}">

View File

@@ -97,7 +97,7 @@
Password
Protected</p>
<p class="card-text border-top pt-3"
th:text="${file.uploadDate}"></p>
th:text="'Uploaded/Renewed: ' + ${#temporals.format(file.uploadDate, 'dd.MM.yyyy')}"></p>
</div>
<div class="card-footer">
<a class="btn btn-primary w-100"