It is known that if you set an Eevee as your buddy for 10km (2 candies), then evolve it, it will turn into an Epseon or Umbreon depending on the time of day.