diff options
Diffstat (limited to 'xslt/jdivelog2subsurface.xslt')
-rw-r--r-- | xslt/jdivelog2subsurface.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt index 74b6d0b99..52ced7424 100644 --- a/xslt/jdivelog2subsurface.xslt +++ b/xslt/jdivelog2subsurface.xslt @@ -349,8 +349,8 @@ Comment: <xsl:value-of select="Comment"/> </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="substring-after($timeSec, '.') >= 60"> - <xsl:value-of select="concat(substring-before($timeSec, '.'), ':', round(substring-after(format-number($timeSec, '.00'), '.') * .6), ' min')"/> + <xsl:when test="substring-after($timeSec, '.') >= 60 or substring-after($timeSec, '.') < 10"> + <xsl:value-of select="concat(substring-before($timeSec, '.'), ':', format-number(round(substring-after(format-number($timeSec, '.00'), '.') * .6), '00'), ' min')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="concat(substring-before($timeSec, '.'), ':', format-number(substring-after($timeSec, '.'), '00'), ' min')"/> |