Time Zones and XML-RPC
By bblfish on Jun 30, 2005
I have had to hack the Apache xmlrpc library to add support for specifying the TimeZone of the remote server. I'll post the patch there as soon as I am happy with it.
I have to say though that I am very surprised that code that has been out there for such a long time has not had such a patch applied to it yet. Of course that something so hyped as XML-RPC has such a fundamental deficiency - that it forces dates to be sent without the time zone information - is itself mind boggling. How could anyone invent a protocol for remote communication and screw up dates so badly? Essentially this means that unless you know what time zone the server is in or you live in the same time zone as the server, all dates exchanges are meaningless. To illustrate: imagine you are speaking to someone on the phone and ask them what time it is. They tell you "8 o'clock". If you don't know where they are in the world that answer will simply be meaningless. Well that is what xml-rpc forces one to do! Would it have been difficult to add time zone information? Not at all. 4 characters more in an xml file.