Date filter in different time zone
|
|
Hi, I’m using the API to find recent activity, by passing in URL such as /account/activity.xml?start_date=10 Jun 2010&end_date=12 Jun 2010&limit=500. I have found that the date filters do not work and I presume this is because we are in a different time zone (New Zealand and we have an office in England as well). Can you either a) get Unfuddle’s ‘current’ time zone from the API so that I can offset my filters; or b) pass a formatted string indicating my time zone? Thanks. |
|
|
I can confirm that the date filters are working. If you are using the URL you mention, you should note that you will need to escape the spaces with “%20”. That being said, the dates are calculated based on UTC time. So, for example, “10 Jun 2010” would translate to “Thu Jun 10 00:00:00 UTC 2010” |
