summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-31 18:27:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-31 08:35:36 -0800
commitd70a6f23ed0e7e8ad6ae07b9b7a7234f53892e74 (patch)
treea4d5a1544e04a82c3933e6d1dbe1992addd56391 /xslt
parent65ee482adb08a46fbda57d067524df270ca5a121 (diff)
downloadsubsurface-d70a6f23ed0e7e8ad6ae07b9b7a7234f53892e74.tar.gz
Change the XSLT to use the duration format instead of "logic"
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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>