API Design Questions (4)

David Miller justdave at bugzilla.org
Wed Sep 30 05:48:50 UTC 2009

Max Kanat-Alexander wrote on 9/29/09 5:52 PM:
> On 09/29/2009 08:44 AM, Gervase Markham wrote:
>> Well, the current XML-RPC interface returns all times in the timezone of
>> the server and makes you get timezone information via another call. I
>> was planning to emulate that pattern. Have you changed your mind - are
>> you now thinking it's better to return the timezone with each timestamp?
> 	It's not an issue of what I'm thinking, but an issue of what the
> XML-RPC standard requires. If I could have returned timestamps with time
> zones always, I would have.

Does the spec say it has to be in the server's timezone, or only that it
doesn't contain timezone information?  If the latter, it would probably
make more sense to always return it in UTC.

Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Corporation      http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/

More information about the developers mailing list