From d0c55fe628c8b79f61627298b386eeeeb8683e28 Mon Sep 17 00:00:00 2001 From: int2001 Date: Fri, 28 Jul 2023 10:13:15 +0000 Subject: [PATCH] Time-Formatter included --- application/controllers/Labels.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Labels.php b/application/controllers/Labels.php index d997e5c7..5bf9dd68 100644 --- a/application/controllers/Labels.php +++ b/application/controllers/Labels.php @@ -209,8 +209,10 @@ class Labels extends CI_Controller { $qso=[]; foreach ($preliminaryData as $key => $row) { $qso=$row; + $time = strtotime($qso['time']); + $myFormatForView = date("Y-m-d H:i", $time); $rowData = [ - 'Date/UTC' => $row['time'], + 'Date/UTC' => $myFormatForView, 'Band' => $row['band'], 'Mode' => $row['mode'], 'RST' => $row['rst'],