Improved text for unknown dates
This commit is contained in:
parent
8e6e0c7846
commit
ed02d10026
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class TextHelper
|
||||||
public static function formatDate($date, $plain = true)
|
public static function formatDate($date, $plain = true)
|
||||||
{
|
{
|
||||||
if (!$date)
|
if (!$date)
|
||||||
return 'Unknown';
|
return 'Never';
|
||||||
if ($plain)
|
if ($plain)
|
||||||
return date('Y-m-d H:i:s', $date);
|
return date('Y-m-d H:i:s', $date);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue