Resupply actions such as purchasing, repairing and bringing crew off cooldown happen at the end of a day. "Return to resupply". This will be the whatever day the track indicates. You cannot take these actions at the start of the following day which may be a new region.