Format xticks to dates.