diff --git a/e107_handlers/date_handler.php b/e107_handlers/date_handler.php index 1ab30af17..fc50dcd0d 100644 --- a/e107_handlers/date_handler.php +++ b/e107_handlers/date_handler.php @@ -183,7 +183,7 @@ class e_date break; case 'relative': - return $this->computeLapse($datestamp, time(), false, false, 'short') ; + return $this->computeLapse($datestamp, time(), false, true, 'short') ; break; default: @@ -650,6 +650,7 @@ class e_date if($format === 'short') { break; } } + if(strpos($ret[0],$secs) !== false) { $justNow = deftrue('LANDT_10',"Just now");