
from sunrise and sunset
Winter solstice just stands for the shortest day in a year but neither the latest sunrise nor the earliest sunset because the solar orbit is elliptical. The latest sunrise is almost half a month later and the earliest sunset half a month earlier for Shanghai.

from time and date