updated x axis to time format