I didn’t fast during my pregnancy.. It is a time where we are exempt from fasting so I probably wouldn’t, especially at 39 weeks as they say we need more calories then. Of course it’s completely your decision though.. maybe consult health professionals if that would help
It’s entirely your choice on how you feel.. With my first I was 35 weeks during ramadhan and I managed to keep half of them, I skipped a day in between and with my second I was 21 weeks and alhamdulillah I managed to keep them all It just depends on how you feel, just remember there is a reason why Allah has allowed pregnant/ breastfeeding mums to be excused from fasting x
https://www.tommys.org/pregnancy-information/blogs-and-stories/im-pregnant/tommys-midwives/ramadan-and-pregnancy-should-i-be-fasting
Give this page a read ^ hopefully it will help you to decide x
I would research the opinions around it and consider your own pregnancy/health and how your growth scans are etc. I didnt fast during my pregnancies but i had really bad sickness each time and the fasts were much longer. This time round im breastfeeding and fasting but the fasts break earlier and im otherwise healthy and milk supply is good. I think there are many factors to consider and your own circumstances.