From 24d57ee1b5b63f122e02ca1eeba1ab49bdf1bd4a Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Mon, 16 Oct 2023 21:13:16 +0300 Subject: [PATCH] Replace strftime() with date() --- schedule/parse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule/parse.php b/schedule/parse.php index 8bef3af..ba1bb82 100644 --- a/schedule/parse.php +++ b/schedule/parse.php @@ -324,7 +324,7 @@ function parseData($config, $data) { } $schedule_body .= ''; - $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 .= ''; $schedule_body .= implode('', $columns); $schedule_body .= '';