use proper timezone
This commit is contained in:
parent
8c8a5c9762
commit
1af3838ebc
@ -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> • {{ notification.created_at | date(format="%d.%m.%Y %H:%M") }}
|
<strong>{{ notification.category }}</strong> • {{ 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> • {{ notification.created_at | date(format="%d.%m.%Y %H:%M") }}
|
<strong>{{ notification.category }}</strong> • {{ 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>
|
||||||
|
Loading…
Reference in New Issue
Block a user