On 9/25/25 14:35, Mark wrote:
I have a message posted to a list on 25 September at 20:57 UTC.
The server is set to UTC and the date command shows it has the correct
date and time.
And I received the message ---- 25 September at 20:57 UTC
But the message is shown (incorrectly) in the archive as having been
posted on 26 September at 8:57 a.m. (out by +12 hours)
It should be shown as 25 September 8:57 p.m.
Where are you seeing this time? Is it the time displayed in the thread
or message view or the time displayed as the Sender's time when you
hover over the time in the thread or message view?
If it's the former of these, you probably have set `TIME_ZONE` in your
Django settings to other than `UTC`. This should be `UTC` because times
from Mailman core are naive times in `UTC`. See
https://docs.djangoproject.com/en/5.2/topics/i18n/timezones/ for some info.
If it is the Sender's time, that is whatever time is in the message's
Date: header with the offset ignored. E.g., a time in the Date: header
of `26 Sep 2025 08:57:00 +1200` will show as `Sender's time: Sept 26,
2025 8:57 am`, ignoring the 12 hour offset.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/DE3UY5EQZ4TRRODYKNAMHTWLMWV4OSDQ/
This message sent to [email protected]