mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
datetime.utcnow() is a timezone-naive datetime. The Django ORM interprets it in the settings.TIME_ZONE timezone (e.g. 'America/New_York' in the development server). We perhaps haven't noticed errors yet since with 'America/New_York' all it means is that emails are sent 5 hours early, or a slightly different set of messages are included in the digest.
8.9 KiB
8.9 KiB