enable date-locale feature; update dependencies

This commit is contained in:
2023-04-07 20:51:10 +02:00
parent fb6dee0fcc
commit 712f47c7ff
4 changed files with 33 additions and 24 deletions

View File

@ -27,7 +27,7 @@
{% set amount_trips = day.planned_events | length + day.trips | length %}
<div class="bg-white p-3 rounded-md flex justify-between flex-col" data-trips="{{ amount_trips }}">
<div>
<h2 class="text-lg text-primary-950 font-bold uppercase tracking-wide">{{ day.day| date(format="%d.%m.%Y") }} <small>{{ day.day| date(format="%A", locale="de_DE") }}</small></h2>
<h2 class="text-lg text-primary-950 font-bold uppercase tracking-wide">{{ day.day| date(format="%d.%m.%Y") }} <small>{{ day.day | date(format="%A", locale="de_AT") }}</small></h2>
{% if day.planned_events | length > 0 %}
<div class="grid grid-cols-1 gap-3 divide-y mb-3">