]> git.saurik.com Git - apt.git/blobdiff - doc/manpage-style.xsl
auto-generate the correct <date> translation
[apt.git] / doc / manpage-style.xsl
index f1024c4f4e9bba665e21bb5f928ce9840d34f40e..5cb6a58c23e3d2091030d0c34edd944c0cd04df3 100644 (file)
@@ -5,5 +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>