From 916ed018301ad34d7e543a69de05da8d27205bfd Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sat, 2 Apr 2016 14:13:17 +0800 Subject: SDM import: calculate duration if needed Seems that DiveManager does not always return the dive duration in DIVETIMESEC field. In this case we can try to calculate the duration from sample count and interval. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/SuuntoSDM.xslt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt index 3b41b7d41..90cc5fdc5 100644 --- a/xslt/SuuntoSDM.xslt +++ b/xslt/SuuntoSDM.xslt @@ -25,10 +25,20 @@ - - - - + + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2