What are you allowed to wear to work on a hot day?

It was 31 degrees celcius or more today. In a hot and humid capital city, that seems to be taken as permission to dress completely inappropriately. I'm sure someone, somewhere, was wearing a mesh shirt to work.