Which sentence is more formal?

 - When it is hot out, a glass of mint lemonade always hits the spot.
 - On a hot day, mint lemonade is a perfect refreshment.
The second sentence is less formal. You can tell because it uses an idiom (hits the spot).
The first sentence uses formal language in place of the idiom, so it is more formal overall.