Fix a bug on date (month beginning at 0 in JS)