Shorts are worn in the summer months of June, July, and August. Locals also wear shorts in late spring and early fall if it's hot. Even if you get a random hot day in the winter, Spaniards will not wear shorts. They dress for the season we're in, and not the weather.