HomeVyOS Platform

T6998: dhcp: fix depracted utcfromtimestamp usage

Description

T6998: dhcp: fix depracted utcfromtimestamp usage

Deprecated as per https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp
Fixes: TypeError: can't subtract offset-naive and offset-aware datetimes

Co-authored-by: Erkki Eilonen <erkki@bearmetal.eu>

Details

Provenance
Erkki EilonenAuthored on Jan 7 2025, 3:28 PM
GitHubCommitted on Jan 7 2025, 3:28 PM
Parents
rVYOSONEX08c00548ec11: vyos.ifconfig: T7018: drop 'iftype' class attribute (#4280)
Branches
Loading...
Tags
Loading...

Event Timeline

GitHub <noreply@github.com> committed rVYOSONEXfe50656a6f15: T6998: dhcp: fix depracted utcfromtimestamp usage (authored by Erkki Eilonen <erkki@itech.ee>).Jan 7 2025, 3:28 PM