def last_survey_sent_datetime(self): service = DayService(user=self.user) if self.last_survey.created: return service.get_datetime_at(self.last_survey.created) return None
def last_answered_survey_datetime(self): service = DayService(user=self.user) if self.last_answered_survey: return service.get_datetime_at(self.last_answered_survey.updated) return None
def get_local_decision_time(self): day_service = DayService(user=self.user) return day_service.get_datetime_at(self.decision.time)