MyBB Community Forums

Full Version: relative time vs. absolute time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Downloaded, installed and working perfectly.
Thank you.
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.