[RFD] divecomputer time/date synchronization while downloading dives
Dirk Hohndel
dirk at hohndel.org
Wed Jul 19 20:52:58 PDT 2017
Sorry for top post.
How about when you tap the button / check the box that enables time since, we open a pop-up with the current time and ask the user to confirm?
Yeah, I know. Pop-ups are evil. But this does seem like one of those cases where maybe it's worth it? Because I like the time sync idea.
There is one flaw, though, now that I think about it. Usually you download your dives after a day of diving. They may not be the best time to adjust the time zone...
/D
--
>From my phone
-------- Original Message --------
From: Miika Turkia <miika.turkia at gmail.com>
Sent: Wed Jul 19 20:45:03 PDT 2017
To: Linus Torvalds <torvalds at linux-foundation.org>
Cc: Subsurface Mailing List <subsurface at subsurface-divelog.org>, Dirk Hohndel <dirk at hohndel.org>, Jef Driesen <jef at libdivecomputer.org>, devel <devel at libdivecomputer.org>
Subject: Re: [RFD] divecomputer time/date synchronization while downloading dives
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20170719/b1f05644/attachment.html>
More information about the devel
mailing list