Author Topic: Setting clock format and time in Classified  (Read 440 times)

Offline felluss

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Setting clock format and time in Classified
« on: December 13, 2018, 07:13:06 PM »
How do you change the time format and time....could not find a clock setting in admin panel.

Right now it's set for 24 hour clock and want am/pm...?

Offline alexa

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
  • Karma: +8/-2
Re: Setting clock format and time in Classified
« Reply #1 on: December 15, 2018, 10:49:18 PM »
In themes/classic/maindir.php and themes/classic/subdir.php

Replace this code:
Code: [Select]
{$smarty.now|date_format:"%A, %B %e, - %Y %H:%M:%S"}

With this code:
Code: [Select]
{$smarty.now|date_format:"%A, %B %e, - %Y %l:%M %p"}