1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

#3605 - set 'show secs' parameter to true by default

Used in relative datestamp. This makes sure "just now" is properly displayed".
This commit is contained in:
Tijn Kuyper
2019-02-09 16:15:32 +01:00
parent 99074cab54
commit 4f90105419

View File

@@ -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");