From aa3bc1a28d75fb03c8a9f5a00783cb6cbb53e0ef Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 18 Jan 2023 10:07:41 -0500 Subject: [PATCH] Add TimeStampSecs to fields returned for Frames. --- web/api/app/Model/Frame.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/api/app/Model/Frame.php b/web/api/app/Model/Frame.php index e1977cf02..f1c46bbb1 100644 --- a/web/api/app/Model/Frame.php +++ b/web/api/app/Model/Frame.php @@ -123,4 +123,5 @@ class Frame extends AppModel { ); public $recursive = -1; + public $virtualFields = array('TimeStampSecs' => 'UNIX_TIMESTAMP(Frame.TimeStamp)'); }