Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 11 · Tithi, Nakshatra and Weekday Yogas; Good and Bad Times
तिथिनक्षत्रवारयोगाः शुभाशुभकालश्च
न वर्धते द्वादशी तु तदा त्वेवं व्यवस्थितिः ।वनवासी परां कुर्यात्पूर्वां कुर्याद्गृहाश्रमी ॥ ४८ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 8, verse 48.
and if Dvadashi does not grow, then this is the rule. The forest-dweller should keep the later one. The householder should keep the earlier one.
Simple meaning: If Dvadashi does not grow, a forest-dweller keeps the later Ekadashi. A householder keeps the earlier one.
पूर्वैरेकादशी त्याज्या वर्धते चेत्तिथिद्वयम् ।
If two moon days grow, leave the first Ekadashi. Fast on the later one.
यदा तु पारणायोग्या द्वादशी नोपतिष्ठते ।
If the Dvadashi for breaking the fast is missing, take the earlier day. Leave the later grown day.
एकादशी कलायुक्ता सकला द्वादशी यदि ।
With a bit of Ekadashi and a whole Dvadashi, the merit equals a sacrifice. Break the fast on the thirteenth.