Clio Api v4 - from/to 日历条目过滤器?

Clio Api v4 - from/to filters on Calendar Entries?

我无法让 fromto 过滤器用于日历条目。

例如这给了我日历的所有条目(包括 2017 年的条目):

https://app.clio.com/api/v4/calendar_entries?calendar_id=12345&from=2018-04-15T02%3A09%3A39Z&fields=id%2C+etag%2C+calendar_owner%2C+start_at%2C+end_at%2C+all_day

对我来说这看起来像是正确的 ISO 8601,我也尝试了不同的格式(包括非 url 编码的版本)但没有任何运气。

如何让它发挥作用?

好吧,格式实际上不是 ISO8601。由于 PHP 错误,它会像这样格式化日期:

2018-05-03T05:39:32+0000 但应该是这样的:2018-05-03T05:39:32+00:00.

我将 DateTime::ISO8601 格式更改为 DateTime::ATOM 格式。