Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Localized date output

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1206 Views
  • Hubertus
    Avatar
    Community Member
    14 Posts

    Localized date output Link to this post

    I'm using SS 2.2.1 with

    i18n::enable();

    and

    i18n::set_locale('de_DE');

    in my _config.php.

    How can I get

    $Date.Format(j. F Y)

    in my template to output the German month name instead of the default English one? I would prefer to not touch date.php in the SS core.

    Thanks!

    1206 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.