我为我的妻子写了一个google任务的集成,但最终我意识到这个概念只有精确到分钟的时间戳。起初,我认为时间戳是正常的,因为这里说它们可以与毫秒:https://developers.notion.com/changelog/dates-with-times-and-timezones-are-now-supported-on-database-date-filters进行比较。
但是在这里,它说时间戳只能以精确到分钟的方式存储:https://developers.notion.com/changelog/last-edited-time-is-now-rounded-to-the-nearest-minute
在API文档中,需要用粗体表示create_time和last_edited_time只精确到分钟(并且时间是四舍五入的)。https://developers.notion.com/reference/post-database-query-filter#date-filter-condition
这是一种限制其Api使用的方法吗?
在堆栈上发布此信息,以便其他人在搜索API时偶然发现它,为什么API对日期筛选器的工作精度极低。
发布于 2022-04-03 18:56:24
按时间戳进行过滤直到最近才添加到API中,涉及原始发布日期:https://developers.notion.com/changelog/filter-databases-by-timestamp-even-if-they-dont-have-a-timestamp-property。
因此,希望能增加更精确的时间戳过滤器。
https://stackoverflow.com/questions/71728955
复制相似问题