The last person certainly had the right idea. My strong belief is that they base it on the actual projected sunrise/sunset. For example, while I am answering this question EST, London/Paris, +5/+6 hours respectively are both shown as dark clocks and the sun has not risen. I added Mecca temporarily which is +9 and sunrise already happened so the clock is lit. The only reason I noticed initially is that 3 of my clocks are dark, LA/London/Paris, while the 4th, Japan is light.