summaryrefslogtreecommitdiff
path: root/gpsdecode.c
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 /gpsdecode.c
parentfc4907020ebfe68fc65d527e65d23d192e26147f (diff)
downloadgpsd-190e80886b96fb4dc81ab7b4ecb4f51424e4dc56.tar.gz
Correct some erroneous IS8061 formating.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r--gpsdecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsdecode.c b/gpsdecode.c
index 0996c327..b0212656 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -69,7 +69,7 @@ static void aivdm_csv_dump(struct ais_t *ais, char *buf, size_t buflen)
case 4: /* Base Station Report */
case 11: /* UTC/Date Response */
(void)snprintf(buf + strlen(buf), buflen - strlen(buf),
- "%04u:%02u:%02uT%02u:%02u:%02uZ|%u|%d|%d|%u|%u|0x%x",
+ "%04u-%02u-%02uT%02u:%02u:%02uZ|%u|%d|%d|%u|%u|0x%x",
ais->type4.year,
ais->type4.month,
ais->type4.day,