Date format on calendar pop out

Discussion in 'Technical Support' started by idealspain, Apr 7, 2011.

  1. idealspain Customer

    What template are you using? default


    On Flog a Dog when you placea listing, one of the questions is date of birth and a pop out calendar is used.

    There's an issue there that the calendar doesn't feature correctly and the date format is published as YYYY-MM-DD.

    How can I resolve the pop out issue and change the date format to DD-MM-YYY ?

    My regional settings in the dashboard are set to DD-MM-YYY but this doesn't affect this date fields

    Thanks for any advice
  2. Blair Moderator

    Open javascript/jquery/date_input/jquery.date_input.min.js

    Change line 18:
    Code:
    return date.getFullYear() + "-" + month + "-" + dom;
    to:
    Code:
    return dom + "-" + month + "-" + date.getFullYear();
    Hope this helps

Share This Page