[ https://issues.apache.org/jira/browse/XALANJ-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022295#comment-13022295 ]
John Cheng commented on XALANJ-2536: ------------------------------------ The attached ExsltDatetime.java is from 2.7.1 with the patch applied. > The ExsltDatetime.dateTime() function does not work in a timezone like India > Standard Time (GMT+5:30) > ----------------------------------------------------------------------------------------------------- > > Key: XALANJ-2536 > URL: https://issues.apache.org/jira/browse/XALANJ-2536 > Project: XalanJ2 > Issue Type: Bug > Security Level: No security risk; visible to anyone(Ordinary problems in > Xalan projects. Anybody can view the issue.) > Components: Xalan-extensions > Affects Versions: 2.7.1 > Environment: This problem occurs when the time zone offset has a > non-zero minute component for example, IST uses GMT+5:30. > Reporter: John Cheng > Labels: datetime, exslt, timezone > Attachments: ExsltDatetime.java, TestExsltDatetimeOffset.java > > > When the default time zone offset has a non-zero minute component, this bug > causes the date-time() to return a string that is not a valid xsd:dateTime. > For example, when the default time zone is IST, then the format looks like: > 2011-04-19T22:08:16+05:1800000 > It is expected to be > 2011-04-19T22:08:16+05:30 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org