mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-29 22:31:14 +02:00
First week fixes
This commit is contained in:
@ -9,7 +9,7 @@ function ensure($bool, $error_msg = "")
|
||||
function formatDate($date = NULL, $with_time = false)
|
||||
{
|
||||
if ($date == NULL)
|
||||
$date = date("Y-m-d H:i:s");
|
||||
$date = date("Y-m-d H:i");
|
||||
|
||||
return strftime("%d %B %G" . ($with_time ? " %H:%M" : ""), strtotime($date));
|
||||
}
|
||||
|
Reference in New Issue
Block a user