Tagged: date format
How do I get the date picker to show up as MM/DD/YY? Or MM/DD/YYYY; either one works.
Please see the example at https://www.gardenstateloans.com/enfold-date-format-example/
Hey gardenstateloans,
You can change that under Settings in WordPress.
Best regards,
Rikard
Hey Meant, the date picker on your forms. It’s showing up DD/MM/YYYY. He needs it to be MM/DD/YYYY, so do I.
Please advise.
Changing the settings in WP does not fix this. it’s a in the php I just can’t find it.
Hey,
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_datepicker_date_placeholder', 'new_date_placeholder');
function new_date_placeholder() {
$placeholder = "MM / DD / YY";
return $placeholder;
}
add_filter('avf_datepicker_dateformat', 'new_date_format');
function new_date_format() {
$date_format = " mm / dd / yy";
return $date_format;
}
Best regards,
Yigit
Worked like a charm. Now that was the absolute fastest i’ve ever gotten a reply on a ticket. Hats off to Yigit!!!!!
Hi,
You are welcome! :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Best regards,
Yigit