It is currently Fri Jul 11, 2014 4:24 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Board Date Format
PostPosted: Thu Nov 21, 2013 10:56 am 
Offline

Joined: Thu Nov 21, 2013 10:32 am
Posts: 21
Location: Adanac
Hello All,

My first post here, so I'll begin with a big "Thank You" for this invaluable resource!

In user control panel, board preferences, setting a custom date format, I can't see how to add the "less than a minute ago" option, and the linked PHP date() function help doesn't say. Can anyone help?


Top
 Profile  
 
 Post subject: Re: Board Date Format
PostPosted: Tue Nov 26, 2013 4:42 pm 
Offline

Joined: Thu Nov 21, 2013 10:32 am
Posts: 21
Location: Adanac
For anyone interested, to have the day/date replaced by 'today' or 'yesterday', etc., in the format specification, surround the part you wish replaced, by vertical bar ('|') characters.

For example, if your format specification is: D, Y M j H:i
which displays as: Tuesday, 2013 Nov 26 14:30
change to: |D, Y M j| H:i
to display: Today 14:30


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group