Fix time conversion for Shearwater computers

The time read from the Shearwater is already in localtime.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-03-24 19:44:10 -07:00 committed by Jef Driesen
parent a9b7edfde3
commit 13950c0ca1

View File

@ -122,7 +122,7 @@ shearwater_predator_parser_get_datetime (dc_parser_t *abstract, dc_datetime_t *d
unsigned int ticks = array_uint32_be (data + 12);
if (!dc_datetime_localtime (datetime, ticks))
if (!dc_datetime_gmtime (datetime, ticks))
return DC_STATUS_DATAFORMAT;
return DC_STATUS_SUCCESS;