Correct date format in datepicker
Updated version to 1.0.1