webservice dive matching?

Linus Torvalds torvalds at linux-foundation.org
Tue May 21 09:02:12 PDT 2013


On Tue, May 21, 2013 at 8:54 AM, Mark Kampe <mark.kampe at gmail.com> wrote:
>
> I should also observe (in case it might be relevant) that I did
> not actually upload the locations to the server until I got home.

Ok, I'm starting to suspect that *this* is what triggers the bug.

The companion app probably saves things internally as a "time_t", and
then just exposes that as local-time when uploading. Doing the
conversion at upload time, rather than at the time of the dive.

Which would be a horrible horrible bug (no data connection while on a
dive trip, upload when you get home), but would explain why we've not
seen it before (people usually have a data connection - wifi at the
hotel if nothing else - and upload nearer to the dive).

Aurélien?

              Linus


More information about the subsurface mailing list