Dress codes are long a thing of the past, alas. I remember when I went to Europe in 1968. I wore a suit and a HAT!
Plus it is California. It's either swim trunks or $1000 suits
When I went to San Francisco in the 50's with my mother, we always wore gloves.