示例#1
0
 def last_active(self):
     if self._last_active is None:
         return None
     return TimeManager.localize(self._last_active)
示例#2
0
 def last_seen(self):
     ret = TimeManager.localize(self._last_seen)
     return ret
示例#3
0
 def time_localize(value):
     return TimeManager.localize(value)
示例#4
0
 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