Ah okay, I was not sure what this mean.
But thank you very very much, now it’s perfect!
Hey, that looks great!!!
The only thing is, that in the date picker field there is always the date “01.01.1970” , but in the custom field it saves the correct date. https://imgur.com/a/JXIIybQ
The theme gets the value in the script by
get_post_meta( $postid, 'rehub_offer_coupon_date', true )
So you mean I can add in the functions.php this filter?
Here’s an example of the different save formats in the DB (with ACF and with the option from the theme): https://imgur.com/a/epHe0TS
The problem is that there are also some plugins who belongs to the theme, which uses this format. And with theme updates (it’s often) they will also be overwritten, I use already a child theme.
So there’s no possibility (in the scripts of ACF) to change the date-format in Y-m-d?