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 50.
When the Dvadashi fit for breaking the fast does not arrive, then the earlier one is to be taken. The one that has grown on the next day is to be left.
Simple meaning: 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.
एकादशी द्वादशी च परेऽहनि न लभ्यते ।
If neither day falls on the next day, do not fast then. It may bring loss.
एकादशी दशाविद्धा द्वादश्यां लिप्तिका यदा ।
If Ekadashi is mixed with the tenth and a trace touches Dvadashi, the next day matters.