【发布时间】:2023-02-21 05:51:57
【问题描述】:
我为我妻子写了一个 google tasks 的集成,但最终意识到 Notion 只有精确到分钟的时间戳。 起初我认为时间戳是正常的,因为这里说它们可以与毫秒进行比较: 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
这是 Notion 限制使用其 Api 的一种方式吗?
将其发布到堆栈上,以便其他人在搜索为什么 API 仅适用于日期过滤器的分钟精度时偶然发现它。
【问题讨论】:
标签: notion-api