I know everyone has off days, but I don't personally find it acceptable. He didn't swear at me specifically, but at the team. Over something trivial admin-wise, he said "Can you all just do this properly, JFC!'.
I was shocked, I am leaving soon anyway, I've never experienced that before. Would it be ok for us to swear at management? I doubt it.
I'm finding that they've got their senior management on their backs and constantly passing the pressure down to us, another reason I'm out.