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.
(2018-07-19, 08:13 AM)rfssjz Wrote: [ -> ]As you can tell, $ty=1 was switched to $ty=2, hence forcing the absolute time function without a plugin.
Would it be possible to make this change adjustable for the user himself, e.g. via the User-CP? And if so, how?
Yes. With the plugin referenced earlier. Still using it. I despise relative time, others like it, so the plugin lets the forum members make the choice.