Fixed the issue with dates appearing wrong on the line chart