svn commit: r631389 - /lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Tue Feb 26 13:26:48 2008
New Revision: 631389

URL: http://svn.apache.org/viewvc?rev=631389&view=rev
Log:
Changed version detection for old years back to contains().

Modified:
    lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl

Modified: lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl?rev=631389&r1=631388&r2=631389&view=diff
==============================================================================
--- lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl (original)
+++ lenya/sandbox/modules/forrest/xslt/svnLog2document.xsl Tue Feb 26 13:26:48 2008
@@ -70,8 +70,8 @@
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2006')">2.0</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2005')">2.0</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/trunk') and contains(date, '2004')">2.0</xsl:when>
-          <xsl:when test="starts-with(date, '2003')">1.0</xsl:when>
-          <xsl:when test="starts-with(date, '2002')">0.8</xsl:when>
+          <xsl:when test="contains(date, '2003')">1.0</xsl:when>
+          <xsl:when test="contains(date, '2002')">0.8</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/docu')">Docs</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/sandbox')">Sandbox</xsl:when>
           <xsl:when test="starts-with(paths/path[1], '/lenya/site')">Site</xsl:when>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.