mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-31 21:59:32 +02:00
fixed time representation in stat.xsl
This commit is contained in:
parent
1719ef4433
commit
68515773e5
4
stat.xsl
4
stat.xsl
|
@ -140,11 +140,11 @@
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:if test="$sec >= 86400">
|
<xsl:if test="$sec >= 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 >= 3600">
|
<xsl:if test="$sec >= 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 >= 60">
|
<xsl:if test="$sec >= 60">
|
||||||
|
|
Loading…
Reference in a new issue