Fixed syntax error in the calendar lib