diff --git a/application/models/Cat.php b/application/models/Cat.php index cbe33b18..410b6dba 100644 --- a/application/models/Cat.php +++ b/application/models/Cat.php @@ -7,8 +7,7 @@ if ($result['timestamp'] != "") { $timestamp = $result['timestamp']; } else { - $given->setTimezone(new DateTimeZone("UTC")); - $timestamp = $given->format("Y-m-d H:i:s"); + $timestamp = gmdate("Y-m-d H:i:s"); } $this->db->where('radio', $result['radio']);