Since the third trimester is considered to be the most important time with regards to the maximum growth spurt of the fetus, fasting the whole day (even without water!) will definitely curtail the maximum expected growth potential of the unborn baby. Since I happen to have a fair share of Muslim patients, on a personal note, I advise them not to fast for the sake of the baby. But, of course, opinions will definitely vary on this controversial point.