calendar helper bugfix

fixed bug that made it impossible to set a date outside the current year