Can sunlight affect wort?

Possibly people don’t detect skunking of the wort in the finished beer because fermentation scrubs out the thiols and because the yeast reduces thiols to H2S which is scrubbed out too during fermentation.