Villager mechanics not working?

I made a villager trading hall a couple days ago and was working great but now when I try and change the villagers profession before I lock it, he doesn’t change. He stays that profession even when I try to change it at the right time of day.

Even weirder though is that his trades will continuously change. If I had a librarian he might offer me quick charge. Then a couple hours later he will give me sharpness. What am I doing wrong?

If that’s a known but they could at least post something about it so I don’t keep wasting my time trying to get something to work that can’t work.