summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/manualcsv2xml.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt
index d74944398..544220a37 100644
--- a/xslt/manualcsv2xml.xslt
+++ b/xslt/manualcsv2xml.xslt
@@ -164,7 +164,7 @@
</xsl:variable>
<xsl:attribute name="duration">
<xsl:choose>
- <xsl:when test="substring-before($duration, ':') = '' and $duration &lt; 600">
+ <xsl:when test="$durationfmt = 1">
<xsl:value-of select="$duration * 60"/>
</xsl:when>
<xsl:otherwise>