Issue with datepicker

Issue with datepicker

Hi all,
      I am using the jquery datepicker with the format dd-mm-yyyy. Manual input is enabled for the date field, when I try to enter value like 01-NOV-2014 which does not match the given format, the datepicker defaults it to 01-12-2014. Is there any fix for this/ any modifications in the js file to address this issue which i can make.