Field Label
- Type:
string
- Required: No
- Default: 'Date'
The current date and time at initialization.
- Type:
string
- Required: No
The localization for the display of the date and time.
- Type:
string
- Required: No
Whether the current timezone is a 12 hour time.
- Type:
bool
- Required: No
- Type:
bool
- Required: No
For more read gutenberg readme.
Example:
dateTime: {
type: 'string',
field: {
type: 'date-time',
placement: 'inspector',
},
}
This will return date and time as string. For eg. 2018-04-13T18:09:59
- Type:
string