i have one date field.
all is correct only in the email the date has “double” value
Datum: 23.07.20212021
correct is Datum: 23.07.2021
newest enfold version.
found the error.
i have german date format in child overriden
with
add_filter('avf_datepicker_date_placeholder', 'new_date_placeholder');
function new_date_placeholder() {
$placeholder = "dd.mm.yyyy";
return $placeholder;
}
add_filter('avf_datepicker_dateformat', 'new_date_format');
function new_date_format() {
$date_format = "dd.mm.yyyy";
return $date_format;
}
but correct is
add_filter('avf_datepicker_date_placeholder', 'new_date_placeholder');
function new_date_placeholder() {
$placeholder = "dd.mm.yy";
return $placeholder;
}
add_filter('avf_datepicker_dateformat', 'new_date_format');
function new_date_format() {
$date_format = "dd.mm.yy";
return $date_format;
}
Hi,
Great, I’m glad that you found the problem, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi,
Great, I’m glad that you found the problem, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
close it
but llok at my other topic