diff --git a/system/autoload/Lang.php b/system/autoload/Lang.php index 5d9b707a..de8dca4c 100644 --- a/system/autoload/Lang.php +++ b/system/autoload/Lang.php @@ -39,7 +39,11 @@ class Lang public static function dateTimeFormat($date){ global $config; - return date($config['date_format']. ' H:i', strtotime($date)); + if(strtotime($date) < strtotime("2000-01-01 00:00:00")){ + return ""; + }else{ + return date($config['date_format']. ' H:i', strtotime($date)); + } } public static function dateAndTimeFormat($date, $time){ diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl index 4a7f413d..b78db300 100644 --- a/ui/ui/user-dashboard.tpl +++ b/ui/ui/user-dashboard.tpl @@ -12,8 +12,7 @@