Switch out django timezone.utc for datetime.timezone.utc.

Review Request #13485 — Created Jan. 4, 2024 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

Now that the python standard library has a UTC object, django has
deprecated theirs. This change swaps our our usage.

Ran unit tests.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Switch out django timezone.utc for datetime.timezone.utc.
Now that the python standard library has a UTC object, django has deprecated theirs. This change swaps our our usage. Testing Done: Ran unit tests.
b1c2ada9ad72a7755375e7d3fb41d98f1ded9351 David Trowbridge
Switch out django timezone.utc for datetime.timezone.utc.
Now that the python standard library has a UTC object, django has deprecated theirs. This change swaps our our usage. Testing Done: Ran unit tests.
f09ad6d1e009858343618444a62d1a238f31abe3 David Trowbridge
reviewboard/certs/cert.py
reviewboard/reviews/detail.py
reviewboard/reviews/tests/test_entries.py
reviewboard/reviews/tests/test_review.py
reviewboard/webapi/tests/test_review.py
Loading...