epopov updated this revision to Diff 78715. epopov added a comment.
Put the `dateEquals` function outside the `onAgendaUpdated` handler, so it can be used elsewhere. REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28354?vs=78694&id=78715 REVISION DETAIL https://phabricator.kde.org/D28354 AFFECTED FILES applets/digital-clock/package/contents/ui/CalendarView.qml To: epopov, ngraham, #plasma, vkrause Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart