Skip to content

Replace deprecated utcfromtimestamp() with fromtimestamp()

lelutin requested to merge deprecated_function into main

Those two essentially behave the same, but the former is deprecated in python 3.12 and the latter attaches the timezone information to the datetime object, which ensures that the object stays consistent if displayed with timezone changes involved.

(Closes: #76 (closed))

Merge request reports

Loading