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']);