Use the datetime
type for datetime
doctrine fields.
Included in the PerformBaseBundle.
If true, use the interactive datepicker to set the value in forms.
This option is optional.
Allowed types: boolean
Defaults:
true
true
true
true
An array of options to pass to the datepicker form type, if used.
This option is optional.
Allowed types: array
Defaults:
['format' => 'hh:mma dd/MM/yyyy', 'pick_date' => true, 'pick_time' => true]
['format' => 'hh:mma dd/MM/yyyy', 'pick_date' => true, 'pick_time' => true]
['format' => 'hh:mma dd/MM/yyyy', 'pick_date' => true, 'pick_time' => true]
['format' => 'hh:mma dd/MM/yyyy', 'pick_date' => true, 'pick_time' => true]
The format to use when displaying the value, using PHP’s date()
syntax.
See https://php.net/date for more information.
This option is optional.
Allowed types: string
Defaults:
'g:ia d/m/Y'
'g:ia d/m/Y'
'g:ia d/m/Y'
'g:ia d/m/Y'
Show the data as a human-friendly string, e.g. 10 minutes ago.
This option is optional.
Allowed types: boolean
Defaults:
true
false
true
true
The label to use for form labels and table headings. If no label is provided, a sensible label will be created automatically.
This option is optional.
Allowed types: string
Defaults: