fix localization date problem