summaryrefslogtreecommitdiff
path: root/xgps
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-29 08:24:30 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-29 08:24:30 -0500
commit34e440c26892b2950d7a368974bbbf59fdf59883 (patch)
tree130a34a5942111b62415d16c8dbe420cecbf2926 /xgps
parent50ac32cd433dd8c4a3da702edea4765694315492 (diff)
downloadgpsd-34e440c26892b2950d7a368974bbbf59fdf59883.tar.gz
Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.
Protocol version number is bumped. Python and C test clients are known to work; interfaces of the C and Python client bindings are unchanged. Third-party client-side bindings which rely on naively copying JSON members will break (implementers have been repeatedly warned not to do this).
Diffstat (limited to 'xgps')
-rwxr-xr-xxgps2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgps b/xgps
index d35928ff..78b3f968 100755
--- a/xgps
+++ b/xgps
@@ -546,7 +546,7 @@ class Base:
def update_time(self, data):
if hasattr(data, "time"):
- return gps.isotime(data.time)
+ return data.time
else:
return "n/a"