Change the style of time labels.