1) The swimming pools are open all summer.
1) The swimming pools are open all the summer.

Are they both correct?

Thanks.