From a14508d7c8395e5373e5a76dcd8a507a0fc870d8 Mon Sep 17 00:00:00 2001 From: David Stotijn Date: Wed, 22 Dec 2021 14:29:37 +0100 Subject: [PATCH] Add `time_zone` field to date prop type --- rich_text.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rich_text.go b/rich_text.go index 1422303..95cda8f 100644 --- a/rich_text.go +++ b/rich_text.go @@ -35,8 +35,9 @@ type Mention struct { } type Date struct { - Start DateTime `json:"start"` - End *DateTime `json:"end,omitempty"` + Start DateTime `json:"start"` + End *DateTime `json:"end,omitempty"` + TimeZone *string `json:"time_zone,omitempty"` } type LinkPreview struct {