mirror of
https://gitlab.isc.org/isc-projects/bind9.git
synced 2025-04-18 09:44:09 +03:00
Address gitchangelog deprecation warning
This commit is contained in:
parent
1c95eeeb3f
commit
951280bca5
@ -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…
x
Reference in New Issue
Block a user