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>
This commit is contained in:
Miika Turkia 2014-12-31 18:27:31 +02:00 committed by Dirk Hohndel
parent 65ee482adb
commit d70a6f23ed
2 changed files with 2 additions and 1 deletions

View file

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