From: Linus Torvalds Date: Sat, 18 Aug 2012 18:47:29 +0000 (-0700) Subject: Select better (?) default date for adding new dive X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=sidebyside;h=bc53bbb10b3aaa22503c2d2b7024d1ac170a5733;hp=bc53bbb10b3aaa22503c2d2b7024d1ac170a5733;p=ext%2Fsubsurface.git Select better (?) default date for adding new dive 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 Signed-off-by: Linus Torvalds ---