Fix incorrect time in line chart