fixed charting date alignment bug