Update index.php to display date with full year on each post

dev
richard 2024-05-08 02:08:30 +02:00
parent 4161a79b86
commit 13cb905610
1 changed files with 325 additions and 325 deletions

View File

@ -108,7 +108,7 @@ $util_class = new util();
if ($db->contarRegistros()>0) {
$dateTmp = null;
while ($register = $rs->fetch()) {
$formatedDate = gmdate("M d", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
$formatedDate = gmdate("M d Y", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
if ($dateTmp != null && $formatedDate == $dateTmp) {
$formatedDate = "";
} else {