From e88f22ee2a9747f673b9e12b907e23bf7790cfc0 Mon Sep 17 00:00:00 2001 From: Tijn Kuyper Date: Fri, 22 Mar 2019 11:10:37 +0100 Subject: [PATCH] #3605 - Fix "Just now" not showing in forum topic relative timestamp Related to https://github.com/e107inc/e107/commit/4f9010541979253c46fcdb474e8eaf243d7958f5 --- e107_plugins/forum/shortcodes/batch/view_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php index 6ec40e72a..5320d1a2d 100644 --- a/e107_plugins/forum/shortcodes/batch/view_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/view_shortcodes.php @@ -309,7 +309,7 @@ if($parm == 'relative') { - return $gen->computeLapse($this->postInfo['post_datestamp'], time(), false, false, 'short'); + return $gen->computeLapse($this->postInfo['post_datestamp'], time(), false, true, 'short'); } // XXX what is this line meant to do?