Here it is again. I'd be surprised if the list shows up on google, as the mails get archived in zip files. Anyway, this patch has worked for me. But it probably could do with some cleaning
up. It is useful though.

-------------

I have made a few changes that work for me at present to deal with the problem of Time Zones in xmlrpc. As I don't know this library inside out, you may consider the changes to be a little
patchy, but then this is the aPatchy project, so...


Attachment: ws-xmlrpc.diff
Description: Binary data


It works for my client side code. My guess is that this probably won't work for my server side code.
Here is how I use it:


     rpcClient.setTimeZone(TimeZone.getTimeZone(
props.getProperty ("bloged.xmlrpc.service.timeZone.usedByServer","UTC"))
     );

Some context:
    - <http://bblfish.net/blog/page7.html#2005/06/20/22-28-18-208>
- <http://blogs.sun.com/roller/page/bblfish? entry=time_zones_and_xml_rpc> - <http://blogs.sun.com/roller/page/bblfish? entry=a_post_in_honolulu_time>

Henry Story


On 27 Jun 2005, at 14:09, Henry Story wrote:

Is there a way to set the time zones in which Date() objects get encoded or decoded in? In the MetaWeblog API the default time zone is meant to be UTC. But I don't see a way to specify
this.

Henry Story




Reply via email to