Fix expiration date at view user

This commit is contained in:
Ibnu Maksum
2023-08-24 15:12:31 +07:00
parent d51edefc10
commit cad57760bd
2 changed files with 6 additions and 1 deletions

View File

@ -42,6 +42,11 @@ class Lang
return date($config['date_format']. ' H:i', strtotime($date));
}
public static function dateAndTimeFormat($date, $time){
global $config;
return date($config['date_format']. ' H:i', strtotime("$date $time"));
}
public static function nl2br($text){
return nl2br($text);
}