summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-06-13 18:06:47 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-06-13 18:06:47 -0400
commit190e80886b96fb4dc81ab7b4ecb4f51424e4dc56 (patch)
tree15f0661dad099a8cebd30c4464ca6ddfe57424da /devtools
parentfc4907020ebfe68fc65d527e65d23d192e26147f (diff)
downloadgpsd-190e80886b96fb4dc81ab7b4ecb4f51424e4dc56.tar.gz
Correct some erroneous IS8061 formating.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/ais.py4
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.