summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-01-10 20:48:55 +0200
committerGravatar Subsurface <dirk@subsurface-divelog.org>2017-01-10 23:04:36 -0800
commit693bf249e449365f099c6e3456f6462288fd54d6 (patch)
tree2761dc77c1bbe7103d84401dc606dca6eb105f34 /xslt
parent4c8355aba02416b0a0040e39f9b2f6c8bd9664f2 (diff)
downloadsubsurface-693bf249e449365f099c6e3456f6462288fd54d6.tar.gz
Parse AP Divesight time format
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/csv2xml.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt
index 99474b079..219ca73a1 100644
--- a/xslt/csv2xml.xslt
+++ b/xslt/csv2xml.xslt
@@ -231,7 +231,7 @@
<xsl:call-template name="sec2time">
<xsl:with-param name="timeSec">
<xsl:choose>
- <xsl:when test="substring-after($value, '.') != ''">
+ <xsl:when test="substring-after($value, '.') != '' and not(contains($hw, 'APD'))">
<!-- Well, I suppose it was min.sec -->
<xsl:value-of select="substring-before($value, '.') * 60 + concat('.', substring-after($value, '.')) * 60" />
</xsl:when>