예제 #1
0
파일: user.py 프로젝트: galoncyryll/pajbot
 def last_active(self):
     if self._last_active is None:
         return None
     return TimeManager.localize(self._last_active)
예제 #2
0
파일: user.py 프로젝트: galoncyryll/pajbot
 def last_seen(self):
     ret = TimeManager.localize(self._last_seen)
     return ret
예제 #3
0
 def time_localize(value):
     return TimeManager.localize(value)
예제 #4
0
파일: filters.py 프로젝트: Neclord9/pajbot
 def time_localize(value):
     return TimeManager.localize(value)
예제 #5
0
파일: user.py 프로젝트: Neclord9/pajbot
 def last_active(self):
     if self._last_active is None:
         return None
     return TimeManager.localize(self._last_active)
예제 #6
0
파일: user.py 프로젝트: Neclord9/pajbot
 def last_seen(self):
     ret = TimeManager.localize(self._last_seen)
     return ret