From 6e0b477680a8a9d112d9ca75b71e168854b806ff Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 28 Aug 2023 14:24:32 +0100 Subject: [PATCH] [Contesting] Removed seconds from checkIfWorkedBefore() --- application/models/Contesting_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Contesting_model.php b/application/models/Contesting_model.php index 7bd89215..71c41c9a 100644 --- a/application/models/Contesting_model.php +++ b/application/models/Contesting_model.php @@ -217,8 +217,8 @@ class Contesting_model extends CI_Model { if ($contest_session) { $qsoarray = explode(',', $contest_session->qso); - $date = DateTime::createFromFormat('d-m-Y H:i:s', $qsoarray[0]); - $date = $date->format('Y-m-d H:i:s'); + $date = DateTime::createFromFormat('d-m-Y H:i', $qsoarray[0]); + $date = $date->format('Y-m-d H:i'); $this->db->where('STATION_ID', $station_id); $this->db->where('COL_CALL', xss_clean($call));