Jump to content

Klenkes

Members
  • Posts

    441
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Klenkes

  1. Thanks for the hint to the IntlDateFormatter class. ...and I know about the Aachener Klenkes, but my nickname is derived from my last name, since I don't know when... decades(oh god I'm old)
  2. I just wanted to add to this archive of the "german month name battle" Just like other people editing the config.php and adding the setlocale changed nothing for me. The only solution in my case was the approach of this post with the addition of adding the setlocale to the PHP part of my template. Without it month names still had wrong coded umlauts. The relevant part of my template now looks like that: <?php setlocale (LC_ALL, 'de_DE.UTF-8'); ... foreach($allenews as $news) { echo "<p class=\"news-datum\">".strftime("%d. %B %Y", strtotime($news->newsdatum))."</p>"; ... } I battled this for some time now and mostly did workaround it by not outputting a month name at all. But now I had to...
×
×
  • Create New...