Merge pull request #4 from radicallyopensecurity/quickscope

Always use 2 digits for day
This commit is contained in:
Peter Mosmans 2016-08-12 15:48:40 +02:00 committed by GitHub
commit 46f561d5b3
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<xsl:param name="INVOICE_NO">00/000</xsl:param>
<xsl:param name="DATE">
<xsl:value-of select="format-date(current-date(), '[Y]-[M,2]-[D1]', 'en', (), ())"/>
<xsl:value-of select="format-date(current-date(), '[Y]-[M,2]-[D,2]', 'en', (), ())"/>
</xsl:param>
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>

View File

@ -44,7 +44,7 @@
<version_history>
<xsl:comment>needed for date on frontpage and in signature boxes; it is possible to add a new &lt;version> after each review; in that case, make sure to update the date/time</xsl:comment>
<version number="auto">
<xsl:attribute name="date"><xsl:value-of select="format-date(current-date(), '[Y]-[M,2]-[D1]', 'en', (), ())"/>T10:00:00</xsl:attribute>
<xsl:attribute name="date"><xsl:value-of select="format-date(current-date(), '[Y]-[M,2]-[D,2]', 'en', (), ())"/>T10:00:00</xsl:attribute>
<xsl:comment>actual date-time here; you can leave the number attribute alone</xsl:comment>
<v_author>ROS Writer</v_author>
<xsl:comment>name of the author here; for internal use only</xsl:comment>