Can confirm in 1.17 PRE-RELEASE 1
Someone in Twitch chat on a recent Ilmango livestream, mentioned something about a difference in starting a world in peaceful, and changing the difficulty to peaceful after the world was generated. I will try later and see if there what I can find.
Can confirm in 1.17 PRE-RELEASE 1