Skip to content

Commit b261ba9

Browse files
add timezone support to date property
1 parent 9ca4c5e commit b261ba9

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)