コード例 #1
0
 def last_change(self):
     """
     Returns last change made on this repository as datetime object
     """
     return date_fromtimestamp(self._get_mtime(), makedate()[1])
コード例 #2
0
 def date(self):
     return date_fromtimestamp(
         getattr(self._commit, self._date_property),
         getattr(self._commit, self._date_tz_property))
コード例 #3
0
ファイル: repository.py プロジェクト: msabramo/kallithea
 def last_change(self):
     """
     Returns last change made on this repository as datetime object
     """
     return date_fromtimestamp(self._get_mtime(), makedate()[1])
コード例 #4
0
ファイル: changeset.py プロジェクト: msabramo/kallithea
 def date(self):
     return date_fromtimestamp(getattr(self._commit, self._date_property),
                               getattr(self._commit, self._date_tz_property))
コード例 #5
0
ファイル: changeset.py プロジェクト: msabramo/kallithea
 def date(self):
     return date_fromtimestamp(*self._ctx.date())
コード例 #6
0
ファイル: changeset.py プロジェクト: t-kenji/kallithea-mirror
 def date(self):
     return date_fromtimestamp(*self._ctx.date())