diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-02-14 16:35:53 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-02-14 16:35:53 +0300 |
commit | 46c560b5a5ad2696c8fb10ba7944e77d79dbf4a1 (patch) | |
tree | e741e2de2cf6f2b9e4ff66b1eee257207abe3f2f | |
parent | 9f0187c307f83a9f2fba85ac58397a2a89aab86b (diff) |
lws upd
-rw-r--r-- | localwebsite/handlers/MiscHandler.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php index 4eeb9fb..cdbc66b 100644 --- a/localwebsite/handlers/MiscHandler.php +++ b/localwebsite/handlers/MiscHandler.php @@ -117,9 +117,11 @@ class MiscHandler extends RequestHandler $date_fmt = 'd.m.Y H:i:s'; foreach ($body['response'] as $cam => $data) { - $fix = date($date_fmt, $data['fix']); + // $fix = date($date_fmt, $data['fix']); + $start = date($date_fmt, $data['motion_start']); $motion = date($date_fmt, $data['motion']); - echo "$cam:\n motion: $motion\n\n"; + echo "$cam:\n motion: $motion\n"; + echo " motion_start: $start\n\n"; } } |