You stop eating when you hear the adhan as it is prohibited to eat or drink when the dawn breaks. Sunrise has nothing to do with fasting while sunset does.

Read more