diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-21 06:13:03 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-05-21 06:13:03 +0200 |
commit | 45fb8bf7f0b3f1e5b69b37a2f9a07a6864448f03 (patch) | |
tree | 71b19db38b2c61d148f7b297d2cc1096b01b3c9f /doc/manpage-style.xsl | |
parent | 372c2a2d4bf8539ada10e11dc1f2541680b5e24c (diff) |
auto-generate the correct <date> translation
Diffstat (limited to 'doc/manpage-style.xsl')
-rw-r--r-- | doc/manpage-style.xsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/manpage-style.xsl b/doc/manpage-style.xsl index ef349f064..5cb6a58c2 100644 --- a/doc/manpage-style.xsl +++ b/doc/manpage-style.xsl @@ -9,4 +9,11 @@ <xsl:template match="email"><<xsl:apply-templates/>></xsl:template> +<xsl:template match="date"> + <xsl:call-template name="datetime.format"> + <xsl:with-param name="date" select="."/> + <xsl:with-param name="format" select="'d B Y'"/> + </xsl:call-template> +</xsl:template> + </xsl:stylesheet> |