[PATCH] Handle seconds in decimal notation (from JDiveLog)

Dirk Hohndel dirk at hohndel.org
Mon Nov 26 11:20:46 PST 2012




Miika Turkia <miika.turkia at gmail.com> writes:

> This is a hack to convert time stored in decimal notation to proper
> seconds. When using metric units the default way of JDiveLog to store
> seconds is to have the amount of seconds after decimal point (1.20 is 1
> minute 20 seconds). In some odd case it is reportedly possible that the
> seconds are actually 100 based, thus we need to convert that to seconds
> (1.33333 will become 1 minute 20 seconds).
> Signed-off-by: Miika Turkia <miika.turkia at gmail.com>

More information about the subsurface mailing list