aboutsummaryrefslogtreecommitdiffstats
path: root/core/qtserialbluetooth.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-07-06 14:37:39 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-07-11 11:47:43 -0700
commit9d2449c5c302a67044f4a7d6802a38bafa477ecc (patch)
tree71a90b22fa2e3bc39bf7b5b0c651e8c9cfd98da6 /core/qtserialbluetooth.cpp
parent912e1faaf21afbfac0cec07db036d97b13ed847c (diff)
downloadsubsurface-9d2449c5c302a67044f4a7d6802a38bafa477ecc.tar.gz
mobile/location-service: fix timezone issue in GPS timestamps
For some reason we suddenly started logging the GPS fixes in UTC instead of local time. Which caused the matching algorithm to fail (unless you happened to be diving in UTC). Unclear what broke this, but this seems like an easy enough fix, since the GPS fix being reported is by definition "right around now". So using gettimezoneoffset() with the current time seems "good enough". I don't know when gettimezoneoffset() with an argument got broken, TBH. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qtserialbluetooth.cpp')
0 files changed, 0 insertions, 0 deletions