Help with day template

I have this in a template

Weekdag1: >
{% set days = [“Zondag”, “Maandag”, “Dinsdag”, “Woensdag”, “Donderdag”, “Vrijdag”, “Zaterdag”] %}
{{ (as_timestamp(now())+(606024))|timestamp_custom(’%A’) }}

But the day of the week is displayed in English instead of Dutch.

What am I missing here?

You aren’t using days at all, where did you copy this template from?

I copied it from a large template which displayed the current day (which working) but now I need the day of tomorrow

I have a feeling your other template isn’t correct either, can you please post it?

To get today:

            {% set days = ["Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"]  %}
            {{ days[now().weekday()] }}

tomorrow:

            {% set days = ["Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"]  %}
            {{ days[(now()+timedelta(days=1)).weekday()] }}
1 Like

Perhaps you find a solution in the The EPIC Time Conversion and Manipulation Thread!.