diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-06-13 18:06:47 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-06-13 18:06:47 -0400 |
commit | 190e80886b96fb4dc81ab7b4ecb4f51424e4dc56 (patch) | |
tree | 15f0661dad099a8cebd30c4464ca6ddfe57424da /devtools | |
parent | fc4907020ebfe68fc65d527e65d23d192e26147f (diff) | |
download | gpsd-190e80886b96fb4dc81ab7b4ecb4f51424e4dc56.tar.gz |
Correct some erroneous IS8061 formating.
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/ais.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/ais.py b/devtools/ais.py index 762902ad..0fdd65ae 100755 --- a/devtools/ais.py +++ b/devtools/ais.py @@ -721,11 +721,11 @@ field_groups = ( # This one occurs in message type 4 (3, ["year", "month", "day", "hour", "minute", "second"], "time", "Timestamp", - lambda y, m, d, h, n, s: "%02d:%02d:%02dT%02d:%02d:%02dZ" % (y, m, d, h, n, s)), + lambda y, m, d, h, n, s: "%02d-%02d-%02dT%02d:%02d:%02dZ" % (y, m, d, h, n, s)), # This one is in message 5 (13, ["month", "day", "hour", "minute", "second"], "eta", "Estimated Time of Arrival", - lambda m, d, h, n, s: "%02d:%02dT%02d:%02d:%02dZ" % (m, d, h, n, s)), + lambda m, d, h, n, s: "%02d-%02dT%02d:%02d:%02dZ" % (m, d, h, n, s)), ) # Message-type-specific information ends here. |