The getMonthInfo function is used for returning some information about a given month. An array containing "long_name", "short_name" and "days" will be returned.