@White For me, the way I eat for “going to bed” is significantly different than how I eat post workout, or pre workout. For instance while I eat a very low fat diet, I have my largest fat intake before bed. If I were to train and then eat my fattier pre-bed food then I might not recover optimally. In general I would advise against training at night simply because the opportunity to refill glycogen stores before then going to bed and sleeping, (also depleting them) seems like a recipe for a 2am wake up with sweats, (what I assume for me is a cortisol response).
If I train during the day I would replenish glycogen immediately after training, and then eat a meal somewhere around an hour or so after. I think glucose powder is somewhat underrated as a post workout. I want glycogen filled and no shot at triggering stress hormones.
I know you asked about “if the meal was the same” but in my opinion you wouldn’t want the meal to be the same. Not sure if my words are clear here. This is just what I’ve experienced personally.