Format date

Format date in the history page.