bug #4568 Date displayed incorrectly when charting a timeline

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>