datetime
type DatetimeField = {
label: string
name: string
type: 'string'
/** See docs/reference/toolkit/fields for customizing the UI **/
ui?: {
dateFormat: string // eg 'YYYY MM DD'
[key: string]: unknown
}
}
The return value for a datetime is in ISO string format
Last Edited: July 27, 2021