From 8fa76d2ff1adbb32eaa7f7491c73e70a483afb5b Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Sun, 25 Jan 2026 11:35:15 +0100 Subject: [PATCH] Fix date for dxcc id --- 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 935d6e1f5..993ab8e82 100644 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -4917,14 +4917,14 @@ class Logbook_model extends CI_Model { if ($this->dxcc_object == null) { $this->dxcc_object = new Dxcc(null); } - $dxcclookupresult = $this->dxcc_object->dxcc_lookup($record['call'], $time_off); + $dxcclookupresult = $this->dxcc_object->dxcc_lookup($record['call'], date('Y-m-d', strtotime($record['qso_date']))); $dxcc = array($dxcclookupresult['adif'], $dxcclookupresult['entity'], $dxcclookupresult['cqz'], $dxcclookupresult['cont']); } } else { if ($this->dxcc_object == null) { $this->dxcc_object = new Dxcc(null); } - $dxcclookupresult = $this->dxcc_object->dxcc_lookup($record['call'], $time_off); + $dxcclookupresult = $this->dxcc_object->dxcc_lookup($record['call'], date('Y-m-d', strtotime($record['qso_date']))); $dxcc = array($dxcclookupresult['adif'], $dxcclookupresult['entity'], $dxcclookupresult['cqz'], $dxcclookupresult['cont']); } } else {