use proper timezone
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m3s
CI/CD Pipeline / deploy-staging (push) Successful in 4m53s
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-04-03 08:13:32 +02:00
parent 8c8a5c9762
commit 1af3838ebc

View File

@ -20,7 +20,7 @@
<div class="relative flex justify-between items-center p-3"> <div class="relative flex justify-between items-center p-3">
<div class="grow me-4"> <div class="grow me-4">
<small class="uppercase text-gray-600 dark:text-gray-100"> <small class="uppercase text-gray-600 dark:text-gray-100">
<strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(format="%d.%m.%Y %H:%M") }} <strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M", ) }}
</small> </small>
<div class="mt-1">{{ notification.message }}</div> <div class="mt-1">{{ notification.message }}</div>
</div> </div>
@ -45,7 +45,7 @@
{% if notification.read_at %} {% if notification.read_at %}
<div class="p-3 relative"> <div class="p-3 relative">
<small class="uppercase text-gray-600 dark:text-gray-100"> <small class="uppercase text-gray-600 dark:text-gray-100">
<strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(format="%d.%m.%Y %H:%M") }} <strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M") }}
</small> </small>
<div class="mt-1">{{ notification.message }}</div> <div class="mt-1">{{ notification.message }}</div>
</div> </div>