Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #754929

    Hi guys,

    How to change dates display from European (DD/MM/YY) to American (MM/DD/YY) in the calendar?

    Thanks

    #757118

    Hey Antonio,

    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

    #757119

    Thanks Yigit!

    #757123

    Hi!

    You are welcome! :)

    Let us know if you have any other questions or issues!

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to change dates display from European (DD/MM/YY) to American (MM/DD/YY)?’ is closed to new replies.