[RFD] divecomputer time/date synchronization while downloading dives

Miika Turkia miika.turkia at gmail.com
Wed Jul 19 20:45:03 PDT 2017


On Wed, Jul 19, 2017 at 11:08 PM, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> Anyway, what this all builds up to is that I'd actually like to just
> set the time automatically when I connect the dive computer to my
> laptop (or my cellphone, for that matter - usually those end up being
> synchronized to the local time quite nicely).

I do like the idea, but I am hesitant about syncing the time with
laptop automatically. That is because it usually takes a few days for
me to update my timezone. Even with the manual time sync, it has
happened to me once that I synced wrong time to my DC. Also with my
tablet, there is no automatic timezone changes so the mobile version
might also be missing the correct time.

> But I suspect people will hate that patch because it does that time
> sync thing *unconditionally*. It would be good to have a check-box and
> some way to actually set the "sync time" flag. But for that to happen,
> we'd need not just the UI side, we'd need to have the libdivecomputer
> interface too.

I am thinking about a nagging popup in case we have not been diving in
more than a day to remind to set the timezone correctly on computer
before syncing the time (if enabled). Or something less annoying for
the incompetent people who cannot keep their timezones :D Maybe just a
checkbox on the download dialog to enable this feature per DC
connection - maybe even remember the setting until no-fly clears.

miika


More information about the devel mailing list