def label_func(s, label=label):
                self.set_label(s, label)
def due_date(self):
        """ Returns a date object of the todo's due date. """
        return self.get_date(config().tag_due())