]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Select better (?) default date for adding new dive
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Aug 2012 18:47:29 +0000 (11:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Aug 2012 18:47:29 +0000 (11:47 -0700)
We now pick one hour after the end of the currently selected dive as the
default starting time for the new dive to be added.  If multiple dives
(or no dives) are selected, we default to current time as before.

The "one hour after the end" is just a random (but not unreasonable)
assumption for the surface time if you add multiple dives.

Suggested-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found