This has happened a few times. The university is an average, good university in UK. One professor said lately "I'm so sick of this f****** pandemic." Another time another lecturer said "When you find yourself in a situation when you feel like: how do I solve this f****** problem? You should just relax and...". These are verbatim quotes. In each case it had a humorous tone to it and the students laughed. Is this acceptable behaviour? Because I was confused.
I find it very inappropriate but that might be because I come from a more conservative country where you'd be embarrassing yourself if you used vulgarities in a situation like this.
There were other examples over the years but I can't remember them exactly. So it's fairly common. Do universities in general allow that?
EDIT: Thank you for all your input. I just wanted to add that it was never my intention to report anything. I just found it unusual and was curious if this is common.