Replace strftime() with date()

This commit is contained in:
Vencislav Atanasov 2023-10-16 21:13:16 +03:00
parent 43f83c1ca4
commit 24d57ee1b5
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ function parseData($config, $data) {
}
$schedule_body .= '<tr><td>';
$schedule_body .= strftime('%H:%M', $microslots[$slot_index][0]) . ' - ' . strftime('%H:%M', $microslots[$slot_index][1]);
$schedule_body .= date('H:i', $microslots[$slot_index][0]) . ' - ' . date('H:i', $microslots[$slot_index][1]);
$schedule_body .= '</td>';
$schedule_body .= implode('', $columns);
$schedule_body .= '</tr>';