q icon indicating copy to clipboard operation
q copied to clipboard

Fix deprecation warnings and tests

Open thomasgoirand opened this issue 7 months ago • 0 comments

Currently, q is using datetime.datetime.utcnow(). Unfortunately, this produces a big warning in Python 3.12, which makes q not really useable anymore. This warning also breaks all unit tests.

This patch fixes this by using datetime.datetime.now() instead.

thomasgoirand avatar Jul 23 '24 01:07 thomasgoirand