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