Skip to content

Date and time fields

All types also accept common field options. Defaults below are API defaults unless marked SPA. Unspecified presentation options have no universal default; the active widget decides.

Calendar date, YYYY-MM-DD.

Options: default can be NOW or a date. SPA allow_clear defaults to true and text_input to false.

{"identifier": "example_date", "type": "date", "options": {"default": "NOW"}}

Timestamp normalized to an ISO 8601 UTC string.

Options: default: NOW or an ISO timestamp. SPA text_input: false; allow_clear: true; minute_step_length rounds and limits time choices; date_time_format controls display.

{"identifier": "example_datetime", "type": "datetime", "options": {}}

JSON object with start and end timestamps.

Options: SPA full_day, full_day_toggle, text_input (false), allow_clear (true). The SPA also stores timezone, userStart, userEnd and fullDay; server normalizes start/end.

{"identifier": "example_daterange", "type": "dateRange", "options": {}}

Time string, HH:mm:ss.

Options: default: NOW or a time. SPA text_input: false; allow_clear: true.

{"identifier": "example_time", "type": "time", "options": {}}

Week value, stored as a string.

Options: Shared field options; week picker handles presentation.

{"identifier": "example_week", "type": "week", "options": {}}