From 27f7e58493ca16266f32363f55fbe3d979348af0 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 24 Nov 2012 12:12:17 +0200 Subject: Improvements on JDiveLog import If dive computer does not record the sample interval, but records time stamps on the samples, we use those. A couple of corner cases fixed that were noticed in new log samples. Also fixes when importing dives logged in imperial units. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/jdivelog2subsurface.xslt | 142 ++++++++++++++++++++++++++++++++---------- 1 file changed, 110 insertions(+), 32 deletions(-) (limited to 'xslt') diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt index 4e900f59b..42cbec01e 100644 --- a/xslt/jdivelog2subsurface.xslt +++ b/xslt/jdivelog2subsurface.xslt @@ -68,13 +68,19 @@ - - + + + + + + + + @@ -178,10 +184,20 @@ Comment: - - - - + + + + + + + + + + + + + + @@ -192,10 +208,29 @@ Comment: - - - - + + + + + + + + + + + + + + + + + + + + + + + @@ -205,20 +240,61 @@ Comment: - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -266,14 +342,16 @@ Comment: - - - - - - - - + + + + + + + + + + -- cgit v1.2.3-70-g09d2