q
q copied to clipboard
Fix deprecation warnings and tests
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.