Jump to the post that solved this thread.
Not Solved relative time vs. absolute time
#1
Not Solved
Is there a setting that selects relative time format or absolute time format?
Whether adminCP or userCP?

Or is it baked in for relative within 24 hours and absolute after that?

Needs a plugin?
Reply
#2
Not Solved
There is a plugin for that
http://doylecc.altervista.org/en/time.html
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#3
Not Solved
Downloaded, installed and working perfectly.
Thank you.
Reply
#4
Not Solved
If you decide to do a simple switch without a plugin (recommended), then search for this line in ~/inc/functions.php:
function my_date($format, $stamp=0, $offset="", $ty=1, $adodb=false)
...and change it to this:
function my_date($format, $stamp=0, $offset="", $ty=2, $adodb=false)
As you can tell, $ty=1 was switched to $ty=2, hence forcing the absolute time function without a plugin.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)