From 858756e6b8880d371fa76cc3107f3c1961f1c07b Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Mon, 1 Aug 2022 11:19:37 +0100 Subject: [PATCH] Update Cat.php --- application/models/Cat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/Cat.php b/application/models/Cat.php index 410b6dba0..11b497787 100644 --- a/application/models/Cat.php +++ b/application/models/Cat.php @@ -7,7 +7,7 @@ if ($result['timestamp'] != "") { $timestamp = $result['timestamp']; } else { - $timestamp = gmdate("Y-m-d H:i:s"); + $timestamp = date("Y-m-d H:i:s", time() - date("Z")) ; } $this->db->where('radio', $result['radio']);