Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How do I change the date names&format?

edited February 2011 in Vanilla 2.0 - 2.8
I am using Vanilla Version 2.0.17.8. I don't know PHP. How do I change month names to Turkish month names? and Date formats? Please help me!
Tagged:

Comments

  • please help me? Are there any idea?
  • You'll have to change these values in the locale pack file "locale.php":
    $Definition['Date.DefaultDayFormat'] = '%e. %B';
    $Definition['Date.DefaultFormat'] = '%e. %B %Y';
    $Definition['Date.DefaultTimeFormat'] = '%H:%M';
    This example is for the german date format. You can find the full documentation for the variables you can use here: http://php.net/manual/de/function.strftime.php
Sign In or Register to comment.