Fix #305, the day value wasn't increased by 1 as it should be