From 255d77ec7af65675c62827734184721bbc3f65ea Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 3 Sep 2020 19:46:59 -0600 Subject: [PATCH] Send event date as timestamp --- lib/Event.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Event.lib.php b/lib/Event.lib.php index c6f06b8..a7b4b59 100644 --- a/lib/Event.lib.php +++ b/lib/Event.lib.php @@ -108,7 +108,7 @@ class Event implements JsonSerializable { "id" => $this->getID(), "machineid" => $this->getMachineID(), "name" => $this->getName(), - "date" => $this->getDate(), + "date" => strtotime($this->getDate()), "techuid" => $this->getTechUID(), "publicnotes" => $this->getPublicNotes(), "privatenotes" => $this->getPrivateNotes()