Date format changed in templates

main
Inga 🏳‍🌈 15 years ago
parent 58b17e9de4
commit 1d281be54b
  1. 16
      templates/Full/elems/Main.xslt

@ -57,11 +57,11 @@
<xsl:template match="date" mode="dateTime"> <xsl:template match="date" mode="dateTime">
<span nowrap="nowrap"> <span nowrap="nowrap">
<xsl:value-of select="year"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="format-number(month, '00')"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="format-number(mday, '00')"/> <xsl:value-of select="format-number(mday, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="format-number(month, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="year"/>
<xsl:text> </xsl:text> <xsl:text> </xsl:text>
<xsl:value-of select="format-number(hour, '00')"/> <xsl:value-of select="format-number(hour, '00')"/>
<xsl:text>:</xsl:text> <xsl:text>:</xsl:text>
@ -73,11 +73,11 @@
<xsl:template match="date" mode="date"> <xsl:template match="date" mode="date">
<span nowrap="nowrap"> <span nowrap="nowrap">
<xsl:value-of select="year"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="format-number(month, '00')"/>
<xsl:text>-</xsl:text>
<xsl:value-of select="format-number(mday, '00')"/> <xsl:value-of select="format-number(mday, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="format-number(month, '00')"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="year"/>
</span> </span>
</xsl:template> </xsl:template>

Loading…
Cancel
Save