mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-06 17:22:05 -04:00
Address gitchangelog deprecation warning
(cherry picked from commit 951280bca5)
This commit is contained in:
parent
d4a76252f0
commit
c6119b5513
1 changed files with 3 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue