Question: what do villagers need to restock?
Answer: Get a villager with a profession (Any profession)
Lock his trades (Must be day time)
They will work and do their 2nd and final restock (As it normally works)
His 3rd work (after all the trades are locked after 2 times per day), it will continue to restock non-stop till it almost gets to the sunset.