1 |
neysx 08/04/19 21:14:28 |
2 |
|
3 |
Modified: glsa.xsl |
4 |
Log: |
5 |
Be ready for revised/@count and yyyy-mm-dd dates |
6 |
|
7 |
Revision Changes Path |
8 |
1.19 xml/htdocs/xsl/glsa.xsl |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/glsa.xsl?rev=1.19&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/glsa.xsl?rev=1.19&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/glsa.xsl?r1=1.18&r2=1.19 |
13 |
|
14 |
Index: glsa.xsl |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/glsa.xsl,v |
17 |
retrieving revision 1.18 |
18 |
retrieving revision 1.19 |
19 |
diff -u -r1.18 -r1.19 |
20 |
--- glsa.xsl 13 Nov 2007 13:21:59 -0000 1.18 |
21 |
+++ glsa.xsl 19 Apr 2008 21:14:27 -0000 1.19 |
22 |
@@ -49,8 +49,14 @@ |
23 |
<th>Latest Revision</th> |
24 |
<ti> |
25 |
<xsl:choose> |
26 |
- <xsl:when test="func:is-date(substring(revised,1,10))"> |
27 |
- <xsl:value-of select="concat(func:format-date(substring(revised,1,10)),substring(revised,11))"/> |
28 |
+ <xsl:when test="revised/@count and func:is-date(revised)='YES'"> |
29 |
+ <xsl:value-of select="concat(func:format-date(revised,'en'),'; ',revised/@count)"/> |
30 |
+ </xsl:when> |
31 |
+ <xsl:when test="func:is-date(revised)='YES'"> |
32 |
+ <xsl:value-of select="func:format-date(revised,'en')"/> |
33 |
+ </xsl:when> |
34 |
+ <xsl:when test="func:is-date(substring(revised,1,10))='YES'"> |
35 |
+ <xsl:value-of select="concat(func:format-date(substring(revised,1,10),'en'),substring(revised,11))"/> |
36 |
</xsl:when> |
37 |
<xsl:otherwise> |
38 |
<xsl:value-of select="revised"/> |
39 |
|
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-commits@l.g.o mailing list |