]> git.saurik.com Git - apt.git/blobdiff - doc/manpage-style.xsl
auto-generate the correct <date> translation
[apt.git] / doc / manpage-style.xsl
index 85aa4521f22f8097c76d3516ae7acb649f15f92c..5cb6a58c23e3d2091030d0c34edd944c0cd04df3 100644 (file)
@@ -5,7 +5,15 @@
 <xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" />
 
 <xsl:param name="man.output.encoding" select="'UTF-8'" />
+<!-- LANGUAGE -->
 
 <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>