-
AuthorPosts
-
May 4, 2016 at 12:16 am #626823
Hi,
I’ve recently changed the date format to MM DD YYYY for the contact form, referencing this (https://kriesi.at/support/topic/mm-dd-yy-order-in-datepicker/#post-455494). However, in the outgoing email it still uses the DD MM YYYY format. How do I go about changing this?
THanks
May 5, 2016 at 5:05 am #627592Hey discotech,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Thanks,
RikardMay 5, 2016 at 8:32 pm #627975Attached, thanks!
May 10, 2016 at 5:31 am #629596Hi,
We tested this on our installation and the date return MM / DD / YY as expected. Did you hard refresh before testing the contact page? Please set the user role to admin because we need full access to the site.
Best regards,
IsmaelMay 10, 2016 at 5:37 am #629598Yes, we are still getting contact forms that are returning DD MM YYYY.
I’ve changed the user role to admin. Thanks
May 11, 2016 at 11:58 am #630619Hi,
where can we see the issue? Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
AndyMay 11, 2016 at 6:38 pm #630889If you go to a page with a contact form:
You will see that it says MM / DD / YYYY but when you pick a date it shows up as DD / MM / YYYY. Then when the email is sent, the date in the email is in the DD / MM / YYYY format as well.
Thanks,
MarkMay 13, 2016 at 7:45 am #631877Hi,
Date picker format is still set to default. Please add this in the functions.php file:
add_filter('avf_datepicker_dateformat', 'avf_change_datepicker_format'); function avf_change_datepicker_format($date_format) { $date_format = 'mm / dd / yy'; return $date_format; }Best regards,
IsmaelMay 13, 2016 at 8:19 am #631898I’ve added it to my functions.php under my child theme but it still does not appear to be working :(
May 13, 2016 at 8:21 am #631900Never mind i added this:
add_filter( ‘avf_datepicker_dateformat’, function(){ return ‘mm / dd / yy’; } );
add_filter( ‘avf_datepicker_date_placeholder’, function(){ return ‘MM / DD / YY’; } );and now it works. Thanks!
May 17, 2016 at 2:52 am #633404 -
AuthorPosts
- You must be logged in to reply to this topic.
