Yes it was. While D-Day was planned more than a year in advance, Midway's defense was slapped together in less than a month. Yorktown, badly damaged at the Battle of the Coral Sea, did not even arrive at Pearl Harbor for repairs until May 27. That she could be made battle ready in less than a week was nothing sort of a miracle itself.
But contrast, two Japanese carriers Shokaku and Zuikaku who suffered lesser damage in the same battle took almost three MONTHS to repair and were in repair dock for the duration of the Midway battle as a result.
Side note: My father volunteered to join the naval air force the day after Pearl Harbor. They told him to come back a month later because the recruiting office could not process people fast enough. When he did, he was assigned to NAF training but washed out in May. However, he still did well enough that he was reassigned to OCS and spent the duration of the war in training before being assigned as communications officer on an LST, which saw hot action 1944-45. Had he passed, there is a good chance he would have fought at Midway and not survived.
Yorktown, badly damaged at the Battle of the Coral Sea, did not even arrive at Pearl Harbor for repairs until May 27. That she could be made battle ready in less than a week was nothing sort of a miracle itself.
When Nimitz asked the yardmaster how long it would take to repair the Yorktown, the yardmaster told him three months. Nimitz said, “You’ve got three days.”