Mark Sapiro wrote:
On 11/28/20 7:18 AM, Per Jessen wrote:
Hi all
at openSUSE we have recently migrated to mailman3, and we seem to be having a couple of teething issues:
a) hyperkitty and postorius both seem to insist on using a 12 hour clock format, no matter what the user has set. Is there a way of changing it system-wide ?
This is a Django setting. Try
TIME_FORMAT = 'H'
in settings_local.py. See https://docs.djangoproject.com/en/3.1/ref/settings/#time-format and https://docs.djangoproject.com/en/3.1/ref/templates/builtins/#std:templatefi...
Thanks, will have a look.
b) overriding the default set of footers - despite having set the template "list:member:regular:footer" to empty for a specific list, I am still getting the default footers attached.
How did you set the template to empty?
I edited it in list settings under Templates, at first really just leaving it empty, then actually writing "empty" :-)
it works for me in Postorius from the HEAD of the gitlab branch and should work with any Postorius >= 1.3.0
Note that when you set a template in Postorius, it sets the URI in Mailman core for that template to https://<HOST>/<PATH>/api/templates/list/<LIST-ID>/<TEMPLATE-NAME> where the https://<HOST>/<PATH> part is the Django setting for POSTORIUS_TEMPLATE_BASE_URL. Is that URI accessible from the Mailman core host machine?
I'll have to check, I only do the list admin, I don't maintain the installation.
-- Per Jessen, Zürich (2.2°C) Member, openSUSE Heroes