API Design Questions (4)

Gervase Markham gerv at mozilla.org
Wed Sep 30 10:16:56 UTC 2009


On 30/09/09 06:54, Max Kanat-Alexander wrote:
> 	It just specifies an exact format and a clarification says that the API
> docs should clarify what timezone it's sending. (This is one of
> XML-RPC's major flaws.)

OK. So what am I doing on the REST API?

1) Send timestamps in local timezone, make extra call for timezone 
information
2) Send timestamps in UTC (I can cheat because I know Bugzilla's timezone)
3) Send timestamps with timezone information embedded in ISO 8601 style

2) and 3) are a bit more complicated because of summer time. But I'm 
sure there are Perl modules to help me :-)

Gerv
_______________________________________________
dev-apps-bugzilla mailing list
dev-apps-bugzilla at lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-apps-bugzilla



More information about the developers mailing list