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 54.
Then it is to be left on both days, and the fast is broken by rule. Seeing the taking of the sixteenth, the Dvadashi loses its breaking of the fast. (Our text is unclear here: what the taking of the sixteenth means.)
Simple meaning: Then leave it on both days. The break of the fast follows the rule.
चण्डातिथौ व्रतं चैव हंति पुण्यं पुरा कृतम् ।
A vow on a fierce day removes earlier merit. Breaking the fast on the thirteenth gives no merit.
ग्रहाश्रमी न कुर्याद्वा दशमीद्वादशीक्षयात् ।
A householder may skip the Ekadashi fast when Dashami mixes in and the Sun changes sign next day.
तथापि संपरित्यज्य द्वादश्यां समुपावसेत् ।
If Dashami touches Ekadashi even briefly, fast on Dvadashi instead.