Fixed problem with the date localization.