summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-02-14 16:38:00 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-02-14 16:38:00 +0300
commitaca05941386a1733614aaf0a6264098164ae1720 (patch)
treeef6294f773ad215cf410b537cb436437e742bf82
parent46c560b5a5ad2696c8fb10ba7944e77d79dbf4a1 (diff)
lws upd
-rw-r--r--localwebsite/handlers/MiscHandler.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php
index cdbc66b..c6cd3e5 100644
--- a/localwebsite/handlers/MiscHandler.php
+++ b/localwebsite/handlers/MiscHandler.php
@@ -117,11 +117,12 @@ 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";
- echo " motion_start: $start\n\n";
+ echo "$cam:\n motion: $motion\n";
+ echo " motion_start: $start\n";
+ echo " fix: $fix\n\n";
}
}