diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-07-11 11:57:50 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-07-11 11:57:54 -0700 |
commit | 7acb229b4a8876ab0b679521afa44fa74d4433dc (patch) | |
tree | 42a0df5692f4d5e42ea0f8a1caffb764071d5a3f /core/btdiscovery.cpp | |
parent | 9d2449c5c302a67044f4a7d6802a38bafa477ecc (diff) | |
download | subsurface-7acb229b4a8876ab0b679521afa44fa74d4433dc.tar.gz |
mobile/location-service: stop using broken adjustment function
gettimezoneoffset() returns incorrect values when called with a time_t.
Since we only accept the value here if it is within 5 minutes of 'now',
using the current timezone offset is a fair approximation.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/btdiscovery.cpp')
0 files changed, 0 insertions, 0 deletions