Changeset 61
- Timestamp:
- 05/05/08 12:12:37 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/years_ploticus.xsl
r56 r61 19 19 update : 20 20 $Id$ 21 fplod 2008-05-05T09:48:05Z aedon.locean-ipsl.upmc.fr (Darwin) 22 force 2 digits format for years 21 23 fplod 2008-04-29T15:28:53Z aedon.locean-ipsl.upmc.fr (Darwin) 22 24 chgt for dbk5 in … … 78 80 <xsl:choose> 79 81 <xsl:when test="$year < 2000"> 80 <xsl:value-of select=" ($year - 1900)"/>82 <xsl:value-of select="format-number(($year - 1900),'00')"/> 81 83 </xsl:when> 82 84 <xsl:otherwise> 83 <xsl:value-of select=" ($year - 2000)"/>85 <xsl:value-of select="format-number(($year - 2000),'00')"/> 84 86 </xsl:otherwise> 85 87 </xsl:choose>
Note: See TracChangeset
for help on using the changeset viewer.