[Answer]-How to clear up Datetime and Timezone confusion?

1👍

In settings.py, if

USE_TZ = True

…then results might not be as expected. I believe there is documentation and I simply missed it. When I removed the setting, the times were being reported as expected.

Provided by @Two-BitAlchemist:

Here is the relevant documentation. In particular, if you do not have USE_TZ=True, it assumes every date you use is in your local time and converts it to UTC

Leave a comment