Answer
If he regains consciousness after a month has passed, he must make up the fast; because fainting is an illness, and it is an excuse for delaying the fast, not for canceling it. This is because fainting weakens the powers but does not remove the obligation, as stated in Al-Mabsut 3: 87.