[nginx] Docs: changes.xslt regenerated.
Maxim Dounin
mdounin at mdounin.ru
Thu Feb 16 15:35:15 UTC 2017
details: http://hg.nginx.org/nginx/rev/b7e02f47a339
branches:
changeset: 6915:b7e02f47a339
user: Maxim Dounin <mdounin at mdounin.ru>
date: Thu Feb 16 18:33:03 2017 +0300
description:
Docs: changes.xslt regenerated.
diffstat:
docs/xslt/changes.xslt | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (27 lines):
diff --git a/docs/xslt/changes.xslt b/docs/xslt/changes.xslt
--- a/docs/xslt/changes.xslt
+++ b/docs/xslt/changes.xslt
@@ -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>
</xsl:text>
More information about the nginx-devel
mailing list