use auto formatter for time scale