Skip to content

Commit 4d999e6

Browse files
Merge pull request #271 from notion-dotnet/236-add-time-zone-support-to-date-property
Add time_zone support to date property ⏲️
2 parents 9ca4c5e + b261ba9 commit 4d999e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Src/Notion.Client/Models/PropertyValue/DatePropertyValue.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,11 @@ public class Date
3333
/// </summary>
3434
[JsonProperty("end")]
3535
public DateTime? End { get; set; }
36+
37+
/// <summary>
38+
/// Optional time zone information for start and end. Possible values are extracted from the IANA database and they are based on the time zones from Moment.js.
39+
/// </summary>
40+
[JsonProperty("time_zone")]
41+
public string TimeZone { get; set; }
3642
}
3743
}

0 commit comments

Comments
 (0)