Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
क्षंतव्यो मेऽपराधश्च कल्याणं कुरु सर्वदा ।इत्युक्ते च तदा तेन शिवो वचनमब्रवीत् ॥ ४४ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 44.
"Forgive my fault, and always do good to me." When he said this, Shiva then spoke.
Simple meaning: The text says the Moon asked for forgiveness and Shiva answered.
पक्षे च क्षीयतां चन्द्र कला ते च दिने दिने ।
The text says Shiva told the Moon to wane in one fortnight and grow in the other.
एवं सति तदा देवा हर्षनिर्भरमानसाः ।
The text says the gods and sages came quickly, full of joy.
आगत्य च तदा सर्वे चन्द्रायाशिषमब्रुवन् ।
The text says the gods blessed the Moon and respectfully asked Shiva.