Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #914592

    The datepicker is setup to read by day/mo/year when a user picks a scheduling time. Can we change this to read mo/day/year instead?

    #914602

    Hi,

    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;
    }

    Cheers!
    Yigit

    #927772

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘datepicker mo/date/year’ is closed to new replies.