Skip to main content
The Date field stores an ISO date string and provides a configurable date and time picker in the admin panel.

Config options

Admin options

Date fields support the standard field admin options, plus placeholder and a date object. Picker appearance and display format affect only the admin UI. The complete value is stored as an ISO date string.

Display format and picker appearance

displayFormat accepts a Unicode date format and controls the value shown in the picker input and admin cells. pickerAppearance controls whether the picker displays a day and time, day, time, or month. If only pickerAppearance is set, the admin panel uses a matching display format.

Example

Custom components

Field

Server component

Client component

Label

Server component

Client component

Timezones

Set timezone: true to show the root admin configuration’s supported timezones. The selected timezone is stored in an additional column named <fieldName>_tz.
The timezone object supports these options:

Timezone override

Use override to modify the generated Select field. The callback receives baseField, which includes its generated name, options, default value, required state, label, and hidden admin setting.

Custom UTC offsets

Fixed offsets use +HH:mm or -HH:mm:
If an application separately mounts a compatible GraphQL executor, timezone values are transformed into enum-safe names: +05:30 becomes _TZOFFSET_PLUS_05_30, -08:00 becomes _TZOFFSET_MINUS_08_00, and America/New_York becomes America_New_York. The original value remains stored and is returned by the REST API. FrogBot does not currently ship a GraphQL execution route.