I have an outdoor light controlled by a pair of 3-way switches, A and B. The switch B is much closer to the light.

Here are the behaviors I observe.
    
    During the day:
    A: Up     B: Up or Down    Light:ON
    A: Down   B: Up            Light:ON
    A: Down   B: Down          Light:OFF

    During the night:          Light:ON (regardless)

Also, believe that the light comes on at a certain hour. So it must be on a timer and not on a light sensor. However, I cannot locate the timer.

The wiring on switch B is attached.

I'm assuming I'm correct that the timer is involved. However, I still cannot make sense of the wiring and so I cannot figure out how to change it to make the three-way switches act normally during the day.

[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/HywwM.jpg