issues
search
mariosimao
/
notion-sdk-php
A complete Notion SDK for PHP developers.
https://mariosimao.github.io/notion-sdk-php/
MIT License
140
stars
24
forks
source link
(bugfix) Refactor property type in DateFilter for filtering on created_time and last_edited_time + fix documentation
#317
Closed
samzzi
closed
7 months ago
samzzi
commented
7 months ago
Current situation
Documentation uses static constant which will not work:
https://x.gnx.li/s61hn2G2
If you use it correctly the call fails because the
date
type may not be used when using the 2 fixed timestamps (
https://developers.notion.com/reference/post-database-query-filter#timestamp
)
Proposed solution
Check if property is timestamp and use proprtyname as type when it is
mariosimao
commented
6 months ago
Released v1.12.0.
Current situation
date
type may not be used when using the 2 fixed timestamps (https://developers.notion.com/reference/post-database-query-filter#timestamp)Proposed solution