Issue #645: Fixed a bug in date handling (internal months were 1 to 12 but javascript Date object months are 0 to 11)