parse x axis to display a nice looking timestamp