WestwegoMans' Forum

Computers, Websites & Forums => SMF Forum tips & tricks => Topic started by: WestwegoMan on Jan 23, 2015, 5:44 PM

Title: Omit leading zero in SMF time format
Post by: WestwegoMan on Jan 23, 2015, 5:44 PM
Since I installed SMF, the time format has been bugging me. I searched through many threads on the support site with no luck. After a bit of searching again today, I came across a thread about getting rid of the leading zero in the time.

April 05, 2014, 09:13:54 PM

I wanted it to read like this instead.

April 05, 2014, 9:13:54 PM
April 05, 2014, 9:13:54 AM

All of this time it was because I mistook an I for an l. If this bugs you also, you can set the time format to the following in Admin > Features and Options > General

Instead of this:
Code: [Select]
%b %d, %Y, %I:%M %p
Use this to omit the leading zero
Code: [Select]
%b %d, %Y, %l:%M %p
SimplePortal 2.3.6 © 2008-2014, SimplePortal