mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:39:59 -04:00
Address gitchangelog deprecation warning
(cherry picked from commit 951280bca5)
This commit is contained in:
parent
3fe001ae2a
commit
84a3d8ca83
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