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 /gpsdecode.c | |
parent | fc4907020ebfe68fc65d527e65d23d192e26147f (diff) | |
download | gpsd-190e80886b96fb4dc81ab7b4ecb4f51424e4dc56.tar.gz |
Correct some erroneous IS8061 formating.
Diffstat (limited to 'gpsdecode.c')
-rw-r--r-- | gpsdecode.c | 2 |
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, |