hi,
can you tell me why this is happening?
[
'name' => __( 'Datum', 'your-text-domain' ),
'id' => $prefix . 'repeater_datum',
'type' => 'date',
'class' => 'tage-datum',
'js_options' => array(
'dateFormat' => 'dd-mm-yy',
'showButtonPanel' => true,
),
'save_format' => 'Y-m-d',
'save_field' => 1,
],
...should save date as "2021-05-20"....
but the array saved in the DB looks like this.
a:2:{i:0;a:1:{s:14:"repeater_datum";s:10:"20-05-2021";}i:1;a:1:{s:14:"repeater_datum";s:10:"21-05-2021";}}