changed dateformat to localization files