#85246SaveToDatabase finisher should convert DateTime Objects to string
Description
The SaveToDatabase finisher should convert DateTime Objects to string.
Currently this example will fail.
type: Form
identifier: test1
label: test1
prototypeName: standard
finishers:
-
identifier: SaveToDatabase
options:
-
table: 'tt_content'
mode: insert
elements:
'datepicker-1':
mapOnDatabaseColumn: 'tstamp'
'date-1':
mapOnDatabaseColumn: 'crdate'
renderables:
-
type: Page
identifier: page-1
label: Step
renderables:
-
type: Date
identifier: date-1
label: Date
defaultValue: ''
-
type: DatePicker
identifier: datepicker-1
label: 'Date picker (jQuery)'
properties:
dateFormat: Y-m-d
enableDatePicker: true
displayTimeSelector: false