@property
    def day_name(self):
        if self.interval == 'weekly':
            return calendar.day_name[self.day]
        return {
            "daily": _("Every day"),
            "monthly": _("Day %s of every month" % self.day),
        }[self.interval]
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/models.py/ReportNotification.day_name/original