summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/divelogs-export.xslt7
1 files changed, 6 insertions, 1 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index f912febed..7ae342356 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -22,12 +22,17 @@
<TIME>
<xsl:value-of select="@time"/>
</TIME>
- <DIVETIMESEC>
+
+ <xsl:variable name="duration">
<xsl:call-template name="time2sec">
<xsl:with-param name="time">
<xsl:value-of select="@duration"/>
</xsl:with-param>
</xsl:call-template>
+ </xsl:variable>
+
+ <DIVETIMESEC>
+ <xsl:value-of select="$duration"/>
</DIVETIMESEC>
<LOCATION>
<xsl:value-of select="location"/>