You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2005/11/30 21:55:32 UTC
[jira] Geschlossen: (XMLRPC-55) Dates timezone information ignored
[ http://issues.apache.org/jira/browse/XMLRPC-55?page=all ]
Jochen Wiedmann closed XMLRPC-55:
---------------------------------
Resolution: Fixed
Assign To: (was: rpc-dev mailing list)
The XML-RPC specification forbids adding timezone information when printing.
As for incoming values, it is now possible to specify a timezone, which is used for interpreting the incoming values.
> Dates timezone information ignored
> ----------------------------------
>
> Key: XMLRPC-55
> URL: http://issues.apache.org/jira/browse/XMLRPC-55
> Project: XML-RPC
> Type: Bug
> Components: Source
> Versions: 1.2
> Environment: Operating System: All
> Platform: All
> Reporter: Carlos Abalde
>
> The current implementation of Date datatype parsing and printing is insuficient. The timezone
> information is discarted, both in printing and parsing. The implementation in
> org.apache.xmlrpc.util.DateTool.java only supports a minimal subset of the ISO8601 standard
> used in XML-RPC. A fast workarround would be putting ,
> <code>protected static final String FORMAT = "yyyyMMdd'T'HH:mm:ssZ";</code>
> in place of,
> <code>protected static final String FORMAT = "yyyyMMdd'T'HH:mm:ss";</code>
> However, with this change there is still problems, becose ISO8601 correct dates
> like 19781031T23:00:00Z or 19781031T23:00:00+01:00 are not supported.
--
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