Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 8 · The Gods of the Tithis and Nakshatras
तिथिनक्षत्रदेवताः
विश्वेभ्यश्चाथ देवेभ्यो दत्ता चैकादशी सदा ।द्वादशी विष्णवे दत्ता मदनाय त्रयोदशी ॥ १४ ॥
In the full Bhavishya Purana this is Brahma Parva chapter 102, verse 14.
Ekadashi was always given to the Vishvedevas. Dvadashi was given to Vishnu, and Trayodashi to Madana.
Simple meaning: Ekadashi belongs to the Vishvedevas, Dvadashi to Vishnu, Trayodashi to Madana.
चतुर्दशी शंकराय दत्ता सोमाय पूर्णिमा ।
Chaturdashi goes to Shankara, Purnima to Soma, Amavasya to the ancestors.
तिथ्यः पंचदशैतास्तु सोमस्य परिकीर्तिताः ।
The fifteen moon days belong to the Moon. In the dark half these gods drink the Moon.
शुक्लपक्षे प्रपूर्यंते षोडश्या कलया सह ।
In the bright half the Moon fills up again. The sixteenth part never wastes away.