Skip to main content

gcal.eventtime

Home > @runlightyear/gcal > EventTime

EventTime interface

Signature:
interface EventTime 

Optional Properties

PropertyModifiersTypeDescription
date?stringThe date, in the format "yyyy-mm-dd", if this is an all-day event.
dateTime?stringThe time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone.
timeZone?stringThe time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end.