Support › Meta Box Group › Wrong date format in field (date)Resolved
when i save date in "datetime" field in a clonable group (maybe this is a general problem?) in custom format, then date in DB is with wrong format.
'name' => __('UPDATE'),
'id' => $prefix . 'product_update',
'type' => 'datetime',
'size' => 20,
'js_options' => ['dateFormat' => 'dd. mm. yy'],
'save_format' => 'Y-m-d-H-i'
then date vaůue in DB is in format "01. 09. 2022 11:32"
Thanks for your feedback.
The datetime subfield in a group will be saved value in the standard format (raw) to the database. It does not look working with the setting save_format. I will inform the development team to consider supporting this case in future updates.