fixed time representation in stat.xsl

This commit is contained in:
Roman Arutyunyan 2012-06-27 15:44:45 +04:00
parent 1719ef4433
commit 68515773e5

View file

@ -140,11 +140,11 @@
</xsl:variable> </xsl:variable>
<xsl:if test="$sec &gt;= 86400"> <xsl:if test="$sec &gt;= 86400">
<xsl:value-of select="(floor($sec div 86400)) mod 60"/>d <xsl:value-of select="floor($sec div 86400)"/>d
</xsl:if> </xsl:if>
<xsl:if test="$sec &gt;= 3600"> <xsl:if test="$sec &gt;= 3600">
<xsl:value-of select="(floor($sec div 3600)) mod 60"/>h <xsl:value-of select="(floor($sec div 3600)) mod 24"/>h
</xsl:if> </xsl:if>
<xsl:if test="$sec &gt;= 60"> <xsl:if test="$sec &gt;= 60">