the sentence that contains correct capitalization and punctuation would be :
Last summer, we visited California.
This sentence has a proper placement of comma to separate the time and activity, and it also use proper capitalization, in the very beginning of the sentence and as the first letter of the name of city.