Fix displaying hours in 12h mode