Parse AP Divesight time format

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-01-10 20:48:55 +02:00 committed by Subsurface
parent 4c8355aba0
commit 693bf249e4

View file

@ -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>