aliasgar vanak aliasgar vanak - 3 months ago 24
jQuery Question

Date Picker Date change while using Google Translator

I am using Date Picker for the checkin Date.

I am using Google Translator in my website.

So when I change the language from English to Chinese or any other language,
Date picker value become

NaN/NaN/NaN
. Datepicker format is
mm/dd/yyyy
.

Answer

add notranslate class in jquery.ui.datepicker.js with class ui-helper-clearfix.