X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/fab058b4ecffc3309c731c44befbd54bc9749567..refs/merge-requests/1/head:/lib/functions.php?ds=sidebyside diff --git a/lib/functions.php b/lib/functions.php index b6672fb..4736b7f 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -143,7 +143,6 @@ function jirafeau_human_size($octets) // Convert UTC timestamp to a datetime field function jirafeau_get_datetimefield($timestamp) { - $ts = date_create("@" . $timestamp); $content = '' . date_format($ts, 'Y-m-d H:i') . ' (GMT)'; @@ -879,7 +878,7 @@ function jirafeau_fileperms($path) function jirafeau_admin_bug_report($cfg) { $out = "