def localized_fact(self): """Make sure fact has the correct start_time.""" fact = Fact(self.activity.get_text()) if fact.start_time: fact.date = self.date else: fact.start_time = dt.datetime.now() return fact
def localized_fact(self): """makes sure fact is in our date""" fact = Fact(self.activity.get_text()) fact.date = self.date return fact