Won't shift into 3rd when it's cold

An 07 Yaris sedan won’t shift to third until it runs for about half a minute or more. Yours is probably different, so if it’s a few minutes, there is a problem. Old transmissions with modulator valves used to not upshift on really cold winter days if they were overfilled.