Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

change date format

edited August 2009 in Vanilla 1.0 Help
Hi,

I'm searching for a way to change the date format to the German standard (dd.mm.yyyy).
Any ideas where to change that?
Thought there would be an option in the settings.php but there isn't.

bye

vegano

Comments

  • I prefer Vanilla 1's "Last Active x minutes/hours/days ago" so I'd like to know how to change this as well.
  • You have to change some values in the german locale file (locale.php) to this:
    $Definition['Date.DefaultDayFormat'] = '%e. %B';
    $Definition['Date.DefaultFormat'] = '%e. %B %Y';
    $Definition['Date.DefaultTimeFormat'] = '%H:%M';
Sign In or Register to comment.