From 1f53fceb26f49d0c4be1a413ac3e08cf3837da21 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 6 Oct 2019 16:50:33 +0100 Subject: [PATCH] Cleaned up some time display items --- application/controllers/Logbook.php | 2 +- application/views/qso/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Logbook.php b/application/controllers/Logbook.php index 24b62b89..e0d733e9 100755 --- a/application/controllers/Logbook.php +++ b/application/controllers/Logbook.php @@ -319,7 +319,7 @@ class Logbook extends CI_Controller { foreach ($query->result() as $row) { $html .= ""; - $html .= "".$row->COL_TIME_ON.""; + $html .= "".date('d/m/y H:i',strtotime($row->COL_TIME_ON)).""; $html .= "".str_replace("0","Ø",strtoupper($row->COL_CALL)).""; $html .= "".$row->COL_RST_SENT.""; $html .= "".$row->COL_RST_RCVD.""; diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 74f2f0d9..cc576572 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -340,7 +340,7 @@ result() as $row) { ?> '; ?> - COL_TIME_ON; ?> + COL_TIME_ON)); ?> COL_PRIMARY_KEY; ?>" href="javascript:;">COL_CALL)); ?> COL_MODE; ?> COL_RST_SENT; ?>