From 0f7c4ecd903f4deb93b628c39ec04cf0ee5255d9 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 31 Dec 2014 13:41:33 +0200 Subject: [PATCH] Treat duration as minutes if dive would be short This will read duration from CSV in minutes if the dive would be less than 10 minutes when treating the duration as seconds. In practice, this means that free-divers cannot import dive duration properly from CSV, but this should be sensible for scuba divers. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- xslt/manualcsv2xml.xslt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index 55968b512..d74944398 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -156,11 +156,21 @@ - + + + + + + + + + + +