From e544ca5f6a0c888a76dfb27c824712549fafe488 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Mon, 26 Nov 2012 20:57:05 +0200 Subject: Handle seconds in decimal notation (from JDiveLog) 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 Signed-off-by: Dirk Hohndel --- xslt/jdivelog2subsurface.xslt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'xslt/jdivelog2subsurface.xslt') diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt index 42cbec01e..74b6d0b99 100644 --- a/xslt/jdivelog2subsurface.xslt +++ b/xslt/jdivelog2subsurface.xslt @@ -348,7 +348,14 @@ Comment: - + + + + + + + + -- cgit v1.2.3-70-g09d2