Skip to content

Commit

Permalink
Fix radarcape json format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Jan 18, 2018
1 parent c7e7ff3 commit 4e212a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/daemon-spotter.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function connect_all($hosts) {
$all_data = json_decode($buffer,true);
foreach ($all_data as $line) {
$data = array();
$data['datetime'] = date('Y-m-d H:i:s',$line['tim']);
$data['datetime'] = date('Y-m-d H:i:s',$line['uti']);
$data['hex'] = $line['hex']; // hex
$data['ident'] = $line['fli']; // ident
$data['altitude'] = $line['alt']; // altitude
Expand Down

0 comments on commit 4e212a8

Please sign in to comment.