Fixed calculation of the daylight part of the dial