mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Address gitchangelog deprecation warning
This commit is contained in:
parent
1c95eeeb3f
commit
951280bca5
@ -1104,7 +1104,9 @@ class GitCommit(SubGitObjectMixin):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def tagger_date(self):
|
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")
|
return d.strftime("%Y-%m-%d")
|
||||||
|
|
||||||
def __le__(self, value):
|
def __le__(self, value):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user