Carter was president during the war on drugs.
I suppose that along that logic you can say that Calvin Coolidge was president during the war on Christmas. Frankly I think that including the War on Drugs is nitpicking - considering how, if you do include it, the last peacetime president becomes Kennedy - but if you exclude him, Hoover.
Well does "peacetime" include any moment in a presidency or requires that the entire presidency be peaceful from start to finish? Because if it's the latter Kennedy doesn't count regardless (Bay of Pigs). There's also the fact that we had 16,000 personnel in Vietnam by the time he was killed.