You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Morris Kwan (JIRA)" <xa...@xml.apache.org> on 2005/06/29 15:31:59 UTC

[jira] Resolved: (XALANJ-2076) date:month-in-year() returns month -1

     [ http://issues.apache.org/jira/browse/XALANJ-2076?page=all ]
     
Morris Kwan resolved XALANJ-2076:
---------------------------------

    Fix Version: CurrentCVS
     Resolution: Fixed

> date:month-in-year() returns month -1
> -------------------------------------
>
>          Key: XALANJ-2076
>          URL: http://issues.apache.org/jira/browse/XALANJ-2076
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-extensions
>     Versions: 2.5Dx
>     Reporter: David Lee
>     Assignee: Morris Kwan
>     Priority: Minor
>      Fix For: CurrentCVS
>  Attachments: XALANJ-2076.patch, datetimepatch.txt
>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date">
> <xsl:element name="date">
> <xsl:attribute name="month"><xsl:value-of select="date:month-in-year()"/></xsl:attribute>
> </xsl:element>
> If the current date is March 10, 2005, I would expect this function to return 3.  But it returns 2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org