How long did your leg cramps last?

I’m nearly 34 weeks and my symptoms haven’t been bad except for the middle of the night Charlie horses/leg cramps, some of which have left my calves sore, tight, and aching for days.

My question anyone who has had this symptom and delivered: how long after birth did the cramps stop for you?

(PS: just looking for answers to that question, not advice on managing the cramps—I have read and tried all of the advice and some has helped a bit, but nothing has totally resolved them!)