Okay so to get this straight:
Evolving your Eevee in the REAL WORLD day, which would be INGAME night, and it gave you an Umbreon. That makes sense.
Then, evolving your Eevee in INGAME day, which would be REAL WORLD night, gave you an Espeon. That also makes sense.
Oh, now I see it. I wrote real world day in the answer, which would be incorrect as that would give you an Umbreon. I'll change it now, thanks!