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 to change from AM/PM to 24-hour?

edited July 2011 in Vanilla 2.0 - 2.8
I am having a hard time trying to make the forum display 24-hour clock instead of AM/PM, so if anybody could enlighten me I would be forever grateful!

- Cheers!

Best Answer

  • lucluc ✭✭
    edited July 2011 Answer ✓
    Answer found by OP. (so you can select this and a nice blue Answered next to the discussion :) )

Answers

  • Found the answer:

    quoting the one who had the answer on these forums:
    @Todd i have tried your solution but it does not work. Here is how i got it to work:

    Go the root of your forum folders -> open 'conf' -> open 'locale.php' -> the file needs to look like this:
    <?php if (!defined('APPLICATION')) exit();
    $Definition['Date.DefaultTimeFormat'] = '%H:%M';
    $Definition['Date.DefaultDayFormat'] = '%e. %B';
  • lucluc ✭✭
    edited July 2011 Answer ✓
    Answer found by OP. (so you can select this and a nice blue Answered next to the discussion :) )
  • Thank you...

Sign In or Register to comment.