Correct the date and time intervals for date charts.

This fix Issue #8.