Edit the following sentence to make the tense of the verb consistent.
Input: He had gone to the store yesterday evening.
He had gone to the store by the time he left last night.
He had gone to the store by evening.