From 55591ca4c9ce75da4fc3d6e0335c98f1a33d786c Mon Sep 17 00:00:00 2001 From: Andreas Date: Mon, 18 Jan 2021 12:19:57 +0100 Subject: [PATCH] Added seconds to import function in logbook model --- application/models/Logbook_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 73359c0d..23e437ee 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -1475,10 +1475,10 @@ class Logbook_model extends CI_Model { $my_error = ""; // Join date+time - $time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_on'])); + $time_on = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_on'])); if (isset($record['time_off'])) { - $time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i', strtotime($record['time_off'])); + $time_off = date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_off'])); } else { $time_off = $time_on; }