Shearwater Predator timezone handling

Dirk Hohndel dirk at hohndel.org
Thu Oct 3 15:16:01 UTC 2013


On Oct 3, 2013, at 2:43 PM, James Sarrett wrote:

> On 10/03/2013 12:56 PM, Henrik Brautaset Aronsen wrote:
>> Robert C. Helling wrote:
>>> 
>>> On Oct 2, 2013, at 9:05 PM, Dirk Hohndel wrote:
>>> 
>>> Hi,
>>> 
>>>> I have a Predator as well and am in Oregon and don't see this problem -
>>>> so I wonder what's going wrong for you. I assume that the Predator shows
>>>> the correct time on the display?
>>> 
>>> I spoke to James on IRC. My impression (from briefly looking at the libdivecomputer sources) is that the Predator returns a relative time rather than absolute time upon download. Then it seems, when this is turned into an absolute time it is wrt UTC rather than the local time zone on the host computer. Am I wrong?
>> 
>> I don't know if this is relevant, but still:  My Shearwater Petrel, which has a very similar firmware, does not care about timezones at all.  I've got no problems with it whatsoever. 
>> 
>> But I *did* have problems with an earlier Subsurface version back in May [1].  That was solved with an updated version of libdivecomputer.  What version do you have, James (run ./subsurface --version)?
>> 
>> Cheers,
>> Henrik
>> 
>> [1] http://lists.hohndel.org/pipermail/subsurface/2013-May/006150.html
> I'm using subsurface version 3.0.2 from canonical.  When I get back to it I'll finish building the latest, and test with that.  It would be really nice if it was an already solved bug.

3.0.2 is most likely linked against libdivecomputer 0.3.0.
Subsurface 3.1.1 should be linked against libdivecomputer 0.4.x and with that you shouldn't get this problem.

/D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131003/8490d027/attachment.html>


More information about the subsurface mailing list