This sucks and takes away from the immersion quite a lot.

Like others said, many monsters in D&D are nocturnal and fighting undead in broad daylight is kinda eh …

Unless they pull a Divinity Original Sin where the time of day will magically shift as you go from one area to another (i.e. always get dark once you approach the cemetery).