Foundry: New tag month-abbr for date-format which shows the abbrivation for the month

git-svn-id: https://svn.libreccm.org/ccm/trunk@3708 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-10-26 12:23:20 +00:00
parent 375b78c3bd
commit 1c9a304ff9
1 changed files with 6 additions and 0 deletions

View File

@ -777,6 +777,12 @@
<xsl:value-of select="$date-elem/@monthName"/> <xsl:value-of select="$date-elem/@monthName"/>
</xsl:template> </xsl:template>
<xsl:template match="date-format//month-abbr">
<xsl:param name="date-elem" tunnel="yes"/>
<xsl:value-of select="substring($date-elem/@monthName, 0, 4)"/>
</xsl:template>
<xsl:template match="date-format//day"> <xsl:template match="date-format//day">
<xsl:param name="date-elem" tunnel="yes"/> <xsl:param name="date-elem" tunnel="yes"/>