Sorry for that. There was a bug on the checking that I fixed now. Consider updating your game, and passing the day to a weekday like you're doing.