summaryrefslogtreecommitdiff
path: root/doc/manpage-style.xsl
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 06:13:03 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 06:13:03 +0200
commit45fb8bf7f0b3f1e5b69b37a2f9a07a6864448f03 (patch)
tree71b19db38b2c61d148f7b297d2cc1096b01b3c9f /doc/manpage-style.xsl
parent372c2a2d4bf8539ada10e11dc1f2541680b5e24c (diff)
auto-generate the correct <date> translation
Diffstat (limited to 'doc/manpage-style.xsl')
-rw-r--r--doc/manpage-style.xsl7
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">&lt;<xsl:apply-templates/>&gt;</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>