Fix the wrong timestamps for time series data