Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #297421

    Is there a simple way to swap the month/day in the date format of your form generator so it shows up as:
    mm/dd/YY instead of dd/mm/yy?
    thanks

    #297488

    Hi AirstreamCoach!

    Please use the code Ismael posted here – https://kriesi.at/support/topic/font-color-for-main-menu-links/#post-278486

    Best regards,
    Yigit

    #337997
    This reply has been marked as private.
    #338518

    Hi!

    Seems like you have already figured it out – http://i.imgur.com/yYmsoo4.png ?

    Cheers!
    Yigit

    #338551

    no, i’m sorry. i want it to read MM/DD/YY
    standard US format.

    why isn’t this a default option?
    I did fix it once and the fix went away!!

    PLEASE HELP

    #338574

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

    Best regards,
    Yigit

    #339729

    This worked! Thanks so much.

    The problem appears to be that whenever I perform a theme update I lose the coding. I am using a child theme but I guess since it’s the functions.php, that doesn’t help.

    will I need to add this code every time there is an update? Or, do you have any plans for adding a datepicker formatting feature to your theme. that would be greatly appreciated!

    jen

    #339744

    Hey Jen!

    No, you can put that code in your child theme functions.php.

    Cheers!
    Josue

    #339792

    thanks josue! sorry but i don’t see that file. The editor only lists the following. i find the functions.php under “enfold” and change it there. but then when there is an update (another one today) the change gets overwritten. how do i find the enfold child function.php file? I can only get to the parent version of that file. thanks.

    Templates
    This child theme inherits templates from a parent theme,
    Enfold
    .

    Styles
    Stylesheet
    (style.css)
    RTL Stylesheet
    (rtl.css)

    #339804

    In that case you’d just need to create it (an empty functions.php), inside your child theme directory.

    Best regards,
    Josue

    #355923
    This reply has been marked as private.
    #355940

    Hey Jen!

    I’m seeing your footer widgets on my end – http://i.imgur.com/WWKKryQ.png

    Best regards,
    Josue

    #355979

    Thanks… i further researched and found that you had a newer update to the theme. after installing it, the problem was resolved. maybe i will wait a few days before performing theme updates in the future! Jen

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘date picker date format’ is closed to new replies.