You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/04/05 23:04:19 UTC
[jira] Updated: (XALANJ-2076) date:month-in-year() returns month -1
[ http://issues.apache.org/jira/browse/XALANJ-2076?page=history ]
Brian Minchau updated XALANJ-2076:
----------------------------------
Assign To: Morris Kwan
Seems like a valid problem, assigning to Morris K. per the Xalan JIRA meeting on April 5, 2005.
> 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: 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
-
If you want more information on JIRA, or have a bug to report 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