Improved text for unknown dates

This commit is contained in:
Marcin Kurczewski 2014-05-23 08:38:33 +02:00
parent 8e6e0c7846
commit ed02d10026

View file

@ -280,7 +280,7 @@ class TextHelper
public static function formatDate($date, $plain = true)
{
if (!$date)
return 'Unknown';
return 'Never';
if ($plain)
return date('Y-m-d H:i:s', $date);