add Cancel Button in user dashboard

This commit is contained in:
Ibnu Maksum
2023-09-01 09:16:40 +07:00
parent 8fcca70ead
commit d71eb37f48
3 changed files with 24 additions and 9 deletions

View File

@ -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){