Extracting information from a webservice

Robert C. Helling helling at atdotde.de
Wed Jan 23 12:39:42 PST 2013


On Jan 23, 2013, at 2:58 PM, Dirk Hohndel wrote:

Dirk,

> We do NOT want timezone. The reason is that dive computers tend to
> ignore time zone as well. So we don't want to correct for time zone at
> all - just local time!
> So from where I sit the current date/time setup works just fine (see the
> POC patch I just sent)

are you sure about this? Which local time? Local time of the dive site (which is what I would have liked displayed) or local time of the computer that runs subsurface which might be different if I connect my dive computer only after I go home. And even when I am traveling, I hardly ever adjust the time zone of my laptop to reflect where I am. 

I don't know about many dive computers but the ones where I looked at the protocol all just reported the time difference between the time of the dive and the time of the read out. My Suuntos display time like a watch as well but usually I do not bother to set DST as I don't use them as a watch. 

I don't know how this gets sorted out but my approach would be to either do keep track of time zones (and the local ones of the dive might be inferred from gps data if existent) or universally use a standard time zone like UST or epoch and convert only for display.

Just my $.02
Robert

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list