Fix isWeekend check for getClasses function
Don't parse min/max attr strictly