Switch DatePicker script so it will work with current locales
(cherry picked from commit b4ce1bd)
Merge branch '1.1.0'