exsltDateTime formatDate function is incorrect for some date formats
--------------------------------------------------------------------
Key: XALANJ-2486
URL: https://issues.apache.org/jira/browse/XALANJ-2486
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
Reporter: PJ Fanning
If called with values ("2008-06-05-07:00", "yyyy-MM-dd") the existing function
returns '"2008-06-04".
The line:
String[] formats = {dt + zone, d,, gym, gy};
Should be something like:
String[] formats = {dt + zone, d + zone,, gym, gy};
It may also be appropriate to append the zone value onto gym and gy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]