Previous Thread
Next Thread
Print Thread
Hop To
#195629 08/28/2007 8:45 PM
Joined: Jul 2007
Posts: 5
J
stranger
stranger
J Offline
Joined: Jul 2007
Posts: 5
Hi there

Well somehow everything under "General" in Display Options on the CP got erased. I've pretty much fiqured everything out except for the

"Available Time Formats:
Separate the date and time portions with a | as this will allow you to specify a different css setting for each portion if you choose."

What was the default code/text in this box? There was something in it, right? smile

If anyone can help me out I'd be so grateful. Thanks! I can't seem to find this answer anywhere.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Code
  'TIME_FORMATS' => 
  array (
    0 => 'd/m/y | h:i A',
    1 => 'y/m/d | h:i A',
    2 => 'd/m/Y | H:i',
    3 => 'D M d Y | h:i A',
    4 => 'm/d/y | h:i A',
    5 => 'Y-m-d | H:i:s',
  ),

add that in your config.inc.php after the MARKUP_FONTS array

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you don't want to edit your config file, here's what you can paste into the available time formats textarea:

d/m/y | h:i A
y/m/d | h:i A
d/m/Y | H:i
D M d Y | h:i A
m/d/y | h:i A
n/j/Y | H:i
Y-m-d H:i:s

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
much better, Rick. thanks smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 469 guests, and 123 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)