I don't disagree that it's idiotic, but this seems to be the company's policy, they have the right to be idiotic.
Many comments pointed out that it is customary for an applicant to ask if there is a dress code prior to showing up for the interview. This person didn't know that, that's ok, she's inexperienced, still going to school. Maybe it was her first interview, I don't know.
The thing is, a grown-up would learn from this experience and say "next time I'll ask my HR contact if there is a strong policy regarding clothing", but no, not this very special snowflake. The world has to bend over to accomodate her uniqueness.
Companies do not have the right to be idiotic in all ways. As touched in the thread I posted, I think that we're flirting with those ways. Tshirt and skirt are usually appropriate for women where tshirt and jeans are appropriate for men, in American culture. If a company says that is not so, then I think there is potential for a gender discrimination claim. We have laws which say companies are not allowed to be arbitrarily idiotic.