Adds formatting for time axis tick labels.