Skip to content

Commit

Permalink
Docs: changes.xslt regenerated.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdounin committed Feb 16, 2017
1 parent b4a2393 commit 3511894
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions docs/xslt/changes.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,19 @@
' '),
1, $conf/changes[@lang=$lang]/length)"/>

<xsl:if test="$lang='ru'"> <xsl:value-of select="@date"/> </xsl:if>
<xsl:if test="$lang='ru'">
<xsl:value-of select="substring(@date, 9, 2)"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="substring(@date, 6, 2)"/>
<xsl:text>.</xsl:text>
<xsl:value-of select="substring(@date, 1, 4)"/>
</xsl:if>

<xsl:if test="$lang='en'">
<xsl:value-of select="substring(@date, 1, 2)"/>
<xsl:value-of select="substring(@date, 9, 2)"/>
<xsl:value-of select="$conf/changes[@lang=$lang]/month[number(substring(current()/@date,
4, 2))]"/>
<xsl:value-of select="substring(@date, 7, 4)"/>
6, 2))]"/>
<xsl:value-of select="substring(@date, 1, 4)"/>
</xsl:if>

<xsl:text>&#10;</xsl:text>
Expand Down

0 comments on commit 3511894

Please sign in to comment.