Using “gmdate” instead of “strftime”

This commit is contained in:
pezcurrel 2022-12-01 17:53:21 +01:00
parent 805dd50b2b
commit f77fe8436f

View file

@ -19,7 +19,7 @@ function notifs(&$link) {
$i++; $i++;
if ($i<=$chunksize) { if ($i<=$chunksize) {
if ($i==1) $lastmicrotime=$row['Microtime']; if ($i==1) $lastmicrotime=$row['Microtime'];
$notif_divs.='<div id="notif-'.$row['ID'].'" class="'.$notifclass.'" onclick="markread(this)">'.strftime('%d/%m/%y %T',round($row['Microtime'])).': '.$row['Notification'].'</div>'.N; $notif_divs.='<div id="notif-'.$row['ID'].'" class="'.$notifclass.'" onclick="markread(this)">'.gmdate('d/m/y H:i:s',round($row['Microtime'])).': '.$row['Notification'].'</div>'.N;
} }
} }
$notif_divs.='</div>'.N; $notif_divs.='</div>'.N;