Not sure about what was done WW2 but some spy satellites are deliberately put into what are known as Sun-synchronous orbits so that imaging of items of interest is always done under the same lighting conditions.
https://en.wikipedia.org/wiki/Sun-synchronous_orbit