Mark Sapiro wrote:
On 6/29/20 12:18 PM, Marco Marinello wrote:
I'm expirencing the same behaviour in Postorius. Is it possible to set a default timezone for new users? Already set it in settings_local.py but not having any effect, still seeing "Africa/Abidajin" in new users. Do you mean the users time zone as displayed in the user's profile? This is a Django setting and the default should come from the TIME_ZONE setting in settings_local.py, at least if USE_TZ is set True
I'm seeing the same behavior on my development site, and I was even able to reproduce this when I created my account on this very site moments ago using OAuth. If you check the django_mailman3_profile table in the DB, I expect you'll see that my timezone record is blank (since I haven't touched it from the Accounts page). FWIW, it's empty... not NULL, since there's a not-null constraint on this field.
Is it possible to have this set to a default (non-empty) value somehow? TIME_ZONE & USE_TZ isn't doing it.