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 2006/04/12 00:03:19 UTC

[jira] Geschlossen: (XMLRPC-78) Configurable or UTC time zone for outgoing date values.

     [ http://issues.apache.org/jira/browse/XMLRPC-78?page=all ]
     
Jochen Wiedmann closed XMLRPC-78:
---------------------------------

    Resolution: Fixed

No reply. Closing. Please reopen, if required.


> Configurable or UTC time zone for outgoing date values.
> -------------------------------------------------------
>
>          Key: XMLRPC-78
>          URL: http://issues.apache.org/jira/browse/XMLRPC-78
>      Project: XML-RPC
>         Type: Improvement

>   Components: Releases
>     Versions: unspecified
>     Reporter: James Baldassari

>
> It appears that the time zone for outgoing date values is always the local time zone of the server.  This has recently caused a problem for me when I was creating some example XML-RPC programs for a class for which I am the teaching assistant.  For my examples I created a Java client and server using the Apache XML-RPC library, as well as a C++ client and server using the xmlrpc-c library.  The servers simply sent back a date value when their RPC handlers were invoked.  The problem occurred when using the C++ client with the Java server or the Java client with the C++ server because the Apache library uses the local time zone, but the xmlrpc-c library uses UTC.  I realize that the XML-RPC spec specifically states that the time zone cannot be assumed and that this library mixing scenario is probably not too common.  However, I think that it would be a good enhancement to allow users to specify the time zone for outgoing date values as they can for incoming date values.  An alternate solution would be to use UTC instead of the local time zone, and then the clients could convert the date values to their local time zone if desired.

-- 
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