summaryrefslogtreecommitdiff
path: root/gpsd.php
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-17 06:42:37 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-17 06:42:37 -0400
commitb1ec6a213d401676cdfc62686256e50cc4921a66 (patch)
tree1da170cbcf5ffe179699a976ff606581885b2d24 /gpsd.php
parent66061a5018bc8a005453226c26ea806a343fe973 (diff)
downloadgpsd-b1ec6a213d401676cdfc62686256e50cc4921a66.tar.gz
And fix the only other place "timestamp" was mentioned. In a comment only.
Diffstat (limited to 'gpsd.php')
-rw-r--r--gpsd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.php b/gpsd.php
index 1607aa04..120fdd3d 100644
--- a/gpsd.php
+++ b/gpsd.php
@@ -46,7 +46,7 @@ require_once("gpsd_config.inc");
# sample data
$resp = <<<EOF
-{"class":"POLL","timestamp":"2010-04-05T21:27:54.84Z","active":1,
+{"class":"POLL","time":"2010-04-05T21:27:54.84Z","active":1,
"fixes":[{"class":"TPV","tag":"MID41","device":"/dev/ttyUSB0",
"time":1270517264.240,"ept":0.005,"lat":40.035093060,
"lon":-75.519748733,"alt":31.1,"track":99.4319,