fix style of dates