diff --git a/Models/Report.php b/Models/Report.php index 694c988..6441241 100644 --- a/Models/Report.php +++ b/Models/Report.php @@ -290,7 +290,7 @@ class Report implements \JsonSerializable return [ 'id' => $this->id, 'createdBy' => $this->createdBy, - 'createdAt' => $this->createdAt->format('Y-m-d H:i:s'), + 'createdAt' => $this->createdAt, 'name' => $this->title, 'description' => $this->description, 'status' => $this->status, diff --git a/Models/Template.php b/Models/Template.php index cc41985..e7cd45f 100644 --- a/Models/Template.php +++ b/Models/Template.php @@ -384,7 +384,7 @@ class Template implements \JsonSerializable return [ 'id' => $this->id, 'createdBy' => $this->createdBy, - 'createdAt' => $this->createdAt->format('Y-m-d H:i:s'), + 'createdAt' => $this->createdAt, 'name' => $this->name, 'description' => $this->description, 'status' => $this->status,