Daniel O'Hara
Results
2
issues of
Daniel O'Hara
My project generated a deprecated function warning for utcfromtimestamp. EPOCH = datetime.datetime.utcfromtimestamp(0) This blog suggest a replacement https://blog.ganssle.io/articles/2019/11/utcnow.html EPOCH = datetime.datetime.fromtimestamp(0, tz=datetime.timezone.utc)
My testing is issuing warnings about utcnow being deprecated. Are there plans to replace this in core.py? Here is a link where the issue is discussed: https://discuss.python.org/t/deprecating-utcnow-and-utcfromtimestamp/26221