mirror of
https://github.com/zulip/zulip.git
synced 2026-06-18 21:01:52 +08:00
When you pass a naive datetime to the Django ORM, it uses settings.TIME_ZONE for the time zone. In the development environment, both settings.TIME_ZONE and datetime.now() use 'America/New_York', so there is no change in behavior there. (fromtimestamp with no tz argument uses the same timezone as datetime.now) We are soon going to change settings.TIME_ZONE to UTC, so need to remove naive datetimes from queries to the ORM. |
||
|---|---|---|
| .. | ||
| commands | ||
| __init__.py | ||