fix date field localization