what does the idiom just in time?
just in time. Immediately before the time at which something is due or is scheduled to begin or end. It took me a lot longer to do my taxes than I was expecting, but thankfully I managed to finish them just in time.