In my experience it doesn't make any difference. In fact, when I drop weight I spend most of my time eating closer to bedtime lol. I was also on intermittment fasting, and I'm pretty sure most of what I lost was fat. Night time is the best time to eat imo, because you will usually be more relaxed, which will not only help you enjoy your meal(s) better, but it might help with digestion since you're in "parasympathetic" mode.
To be perfectly honest I don't think it matters with the 2 identical people. Assuming they both do the same activity, neither will lose more weight than the other.