Changeset 61 for trunk


Ignore:
Timestamp:
05/05/08 12:12:37 (16 years ago)
Author:
pinsard
Message:

bug fix for years plot with ploticus (no bars after 2000)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/years_ploticus.xsl

    r56 r61  
    1919update : 
    2020$Id$ 
     21fplod 2008-05-05T09:48:05Z aedon.locean-ipsl.upmc.fr (Darwin) 
     22force 2 digits format for years 
    2123fplod 2008-04-29T15:28:53Z aedon.locean-ipsl.upmc.fr (Darwin) 
    2224chgt for dbk5 in 
     
    7880 <xsl:choose> 
    7981  <xsl:when test="$year &lt; 2000"> 
    80    <xsl:value-of select="($year - 1900)"/> 
     82   <xsl:value-of select="format-number(($year - 1900),'00')"/> 
    8183  </xsl:when> 
    8284  <xsl:otherwise> 
    83    <xsl:value-of select="($year - 2000)"/> 
     85   <xsl:value-of select="format-number(($year - 2000),'00')"/> 
    8486  </xsl:otherwise> 
    8587 </xsl:choose> 
Note: See TracChangeset for help on using the changeset viewer.