8 Feb
2022
8 Feb
'22
5:18 a.m.
On 2/4/22 10:29 AM, Mark Sapiro wrote:
My Postorius account time zone is set to "US/Pacific".
The appropriate setting for Django is always
TIME_ZONE = 'UTC'
because the time passed from Mailman core is a naive datetime.datetime object and is actually UTC.
Could use clarification on this. Are you referring to the settings.py file, or something else?
Asking because my settings.py currently has:
# Django time zones USE_TZ = True TIME_ZONE = 'America/Los_Angeles'
and list timestamps appear to work OK both in Hyperkitty and as received by members' mail clients.
This is with postorius 1.3.6 and Django 3.0.14.
Is this setting incorrect?
Thanks
dn