def calc(self, input):
        try:
            lmp_date = datetime.strptime(input["lmp"], "%d-%m-%Y")
            edd_date = lmp_date + timedelta(days=280)
            return [_("Estimated Date of Delivery: %s") % edd_date.strftime("%d-%m-%Y")]
        except __HOLE__:
            self._headers = [" ", " "]
            return [_("Error: We can't parse your input, please try again"), self.form_html]
dataset/ETHPy150Open dimagi/commcare-hq/custom/bihar/reports/supervisor.py/EDDCalcReport.calc