Format de date

This commit is contained in:
Fred Tempez 2024-03-17 08:07:54 +01:00
parent 49180ab4ed
commit 5e7c9597cd
2 changed files with 2 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class folder extends common
if ($showDetails) {
$fileSize = filesize($fileFullPath);
$fileSizeFormatted = $this->formatSizeUnits($fileSize);
$fileInfo = "<span class='file-info'> " . date("Y-m-d H:i:s", filemtime($fileFullPath)) . ", $fileSizeFormatted</span>";
$fileInfo = "<span class='file-info'> " . date("d-m-Y H:i", filemtime($fileFullPath)) . " - $fileSizeFormatted</span>";
}
$items .= "<li class='file'><a href='$fileFullPath' data-lity>$file</a>$fileInfo</li>";
}

View File

@ -52,6 +52,7 @@
/* Style pour les sous-éléments des dossiers */
.sub-items {
list-style-type: none;
margin-left: -40px;
}
/* Style pour les informations de fichier */