German spelling of months

I use this code in my template(s):

<?php setlocale(LC_TIME, "de_DE.utf8"); snippet('header') ?>
...
<?= strftime( "%d. %B %Y", strtotime(date("Y-m-d", $page->date())) ) ?>

This gives me:

Auswahl_103

1 Like