Esempio n. 1
0
 def age_ago(self, time = None):
   if time is None:
     time = datetime.datetime.utcnow()
   return time_ago(self.most_recent_date, time)
Esempio n. 2
0
 def age(self, time = None):
   if time is None:
     time = datetime.datetime.utcnow()
   return time_ago(self.date, time)
Esempio n. 3
0
 def age_ago(self, time=None):
     if time is None:
         time = datetime.datetime.utcnow()
     return time_ago(self.most_recent_date, time)