[ http://issues.apache.org/jira/browse/XALANJ-2076?page=all ]
Morris Kwan updated XALANJ-2076:
--------------------------------
Attachment: XALANJ-2076.patch
I have reviewed the original patch and made some minor changes. The new patch
is attached.
> 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
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]