Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def get_local_decision_time(self):
     day_service = DayService(user=self.user)
     return day_service.get_datetime_at(self.decision.time)