• Anna
    February 19, 2014 at 2:45 pm #23547
    Look in libs/front_end_submission.php and in property.php    for  datepicker
    Looks like this:jQuery(“#property_date”).datepicker({
    dateFormat : “yy-mm-dd”
    });change to a new format.

    help for dateformat http://api.jqueryui.com/datepicker/#option-dateFormat

    To change the date format in advanced search, go to

    map-search-form
    line 189

    —————–

    For booking form calendar

    The date format needs to be changed in javascript . So you need to locate where we apply the datepicker (do a search per project ofr datepicker) and then adjust rhe javascript instruction using dateformat instruction:

    for example

    jQuery(document).ready(function(){
    
    jQuery("#openhouse_date").datepicker({
    
    dateFormat : "DD,MM dd, yy"
    
    });
    
    });

    See these resources also : http://api.jqueryui.com/datepicker/#utility-format

    http://api.jqueryui.com/datepicker/#option-dateFor

    Thanks

    • This topic was modified 3 years, 1 month ago by  Anna.
    • This topic was modified 3 years ago by  Anna.
    • This topic was modified 3 years ago by  Anna.
    • This topic was modified 2 years, 5 months ago by  Anna.
    • This topic was modified 2 years, 5 months ago by  Anna.
    Anna
    May 9, 2014 at 12:40 pm #35725

    NOTES:

    – old properties must be saved again to show the new date format

    • This reply was modified 2 years, 10 months ago by  Anna.

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.