fix(datepicker): better support for localized dates (fixes #127)