You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
notion: a comment's created_time and last_edited_time keep their seconds and have no milliseconds, where real gives the minute #1110
Source and commit — notion (GET /v1/comments), main at 426d4b08. list_comments in backlot/routers/notion.py writes a comment's created_time and last_edited_time with synth.rfc3339: to the second, with no milliseconds.
How you know — measured against api.notion.com on 2026-10-27 with an internal integration's token under Notion-Version: 2025-09-03, on a page of our own workspace: the first three comments GET /v1/comments?block_id= listed each answered created_time and last_edited_time2026-10-20T16:50:00.000Z, zero seconds and milliseconds. That is the form real gives a page's, a block's and a data source's timestamps, which is #882.
prints 2026-03-02T10:20:33Z 2026-03-02T10:20:33Z on 426d4b08, where real's form for that minute is 2026-03-02T10:20:00.000Z.
1. A comment's timestamps keep their seconds and have no milliseconds
Request — GET /v1/comments?block_id={page_id}.
Backlot serves — "created_time":"2026-03-02T10:20:33Z" and the same last_edited_time for a comment the corpus dates 10:20:33.
The real API serves — the minute with zero seconds and milliseconds: "2026-10-20T16:50:00.000Z" for each comment measured, in both fields.
Can a client tell? Not from the status. The strings differ on the wire: in the milliseconds always, and in the seconds wherever the corpus dates a comment past the minute's start.
Measured again on 2026-10-27 (UTC) with a comment written for the purpose on the same page: POST /v1/comments, sent at 16:29:45.066 and answered by 16:29:45.567, gave created_time and last_edited_time2026-10-27T16:29:00.000Z, and GET /v1/comments?block_id= listed it with those two values under 2022-06-28, 2025-09-03 and 2026-03-11. So real cuts a comment's time to the minute it falls in (the 45 seconds went), under each of those versions. Backlot serves no POST /v1/comments, so the listing is where this shows.
Activity
nuriyoo commentedon Oct 27, 2026
Measured again on 2026-10-27 (UTC) with a comment written for the purpose on the same page:
POST /v1/comments, sent at 16:29:45.066 and answered by 16:29:45.567, gavecreated_timeandlast_edited_time2026-10-27T16:29:00.000Z, andGET /v1/comments?block_id=listed it with those two values under2022-06-28,2025-09-03and2026-03-11. So real cuts a comment's time to the minute it falls in (the 45 seconds went), under each of those versions. Backlot serves noPOST /v1/comments, so the listing is where this shows.saisarans2007 commentedon Oct 28, 2026
I'd like to take this one.
notion: a comment's created_time and last_edited_time are its minute …