Fix wrong month in date conversion