Example #1
0
 def date(self):
     return date_fromtimestamp(self._commit.commit_time,
                               self._commit.commit_timezone)
Example #2
0
 def last_change(self):
     """
     Returns last change made on this repository as datetime object
     """
     return date_fromtimestamp(self._get_mtime(), makedate()[1])
 def last_change(self):
     """
     Returns last change made on this repository as datetime object
     """
     return date_fromtimestamp(self._get_mtime(), makedate()[1])
Example #4
0
 def date(self):
     return date_fromtimestamp(
         getattr(self._commit, self._date_property),
         getattr(self._commit, self._date_tz_property))
Example #5
0
 def date(self):
     return date_fromtimestamp(*self._ctx.date())
Example #6
0
 def date(self):
     return date_fromtimestamp(*self._ctx.date())
Example #7
0
 def date(self):
     return date_fromtimestamp(getattr(self._commit, self._date_property),
                               getattr(self._commit, self._date_tz_property))