Yama has died. The gods try to persuade Yami to forget him, and whenever they ask she says he died only today. They see that she will never forget this way and resolve to create night, for then there was only day. Night is created, a morrow arises, and she forgets him.
A dialogue while Yama lives. Yami asks her twin to be her husband so that the one mortal may leave offspring, saying the gods wish it and Tvashtri made them a pair in the womb. Yama refuses: the law of Mitra and Varuna is great, the gods' watchers never close their eyes, and it is called wrong. She calls him a weakling; he tells her to find another husband and wishes her a good marriage.
What is different here:
A different episode: an argument about marriage, not mourning; Yama is alive and has the last word. Told on the site with restraint.
Sources: Maitrayani Samhita 1.5.12, the origin of night, as translated in S. K. De, Ancient Indian Erotics and Erotic Literature (1959), excerpt page; Yamuna in Hinduism (Wikipedia); Hymns of the Rigveda, tr. R. T. H. Griffith (1896), hymns read for the Vedic layer; Hymns of the Atharva-Veda, tr. R. T. H. Griffith (1895)