Jerusalem wasn’t officially made the capital of the State of Israel until 1980, and no US president has ever recognized it as such.
I don't know what you mean by "officially made the capital." Jerusalem was certainly at least the de facto capital of the State of Israel since its founding in 1948. That's where the Knesset and the chief government administrative offices have been located, no matter who recognizes that as a fact or not.