More than likely this coincided with changes needed in relation to the new date/time picker. The dashes are added when the field is loaded. It seems from looking at other code in ACF that if the dashes are not there that the value would get confused with a unix time stamp value. I would suggest adding a load_value filter for date fields, but it you did that ACF would probably convert the value to something other than the date entered.
It seems that the only choices you have are to remove the dashes after getting the value or to use
get_post_meta($post_id, $field_name, true) to get the value.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.