mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Add custom type for Notion date properties with optional time
This commit is contained in:
@ -517,7 +517,7 @@ func TestQueryDatabase(t *testing.T) {
|
||||
ID: "Q]uT",
|
||||
Type: notion.DBPropTypeDate,
|
||||
Date: ¬ion.Date{
|
||||
Start: mustParseTime(time.RFC3339Nano, "2021-05-18T12:49:00.000-05:00"),
|
||||
Start: mustParseDateTime("2021-05-18T12:49:00.000-05:00"),
|
||||
},
|
||||
},
|
||||
"Name": notion.DatabasePageProperty{
|
||||
|
Reference in New Issue
Block a user