Fixed time overflow in date.atSunEvent()