Address gitchangelog deprecation warning
(cherry picked from commit 951280bca5)
This commit is contained in:
@@ -1104,7 +1104,9 @@ class GitCommit(SubGitObjectMixin):
|
||||
|
||||
@property
|
||||
def tagger_date(self):
|
||||
d = datetime.datetime.utcfromtimestamp(float(self.tagger_date_timestamp))
|
||||
d = datetime.datetime.fromtimestamp(
|
||||
float(self.tagger_date_timestamp), datetime.UTC
|
||||
)
|
||||
return d.strftime("%Y-%m-%d")
|
||||
|
||||
def __le__(self, value):
|
||||
|
||||
Reference in New Issue
Block a user