diff --git a/languages/Language.php b/languages/Language.php index 4ed24651834..55a2ee792cb 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3018,7 +3018,7 @@ class Language { } } // If no duration is given, but a timestamp, display that - return $this->timeanddate( $str ); + return ( strtotime( $str ) ? $this->timeanddate( strtotime( $str ) ) : $str ); } /**