On 10/23/19 11:56 AM, Peter Fraser wrote:
Hi All I was wondering, is there a way to tell when a mailing list was first created?
Both Mailman 2.1 and Mailman 3 lists have a created_at attribute.
In Mailman 2.1 this is a floating point number of seconds since the epoch. There is a withlist script at https://www.msapiro.net/scripts/created.py (mirrored at https://www.msapiro.net/scripts/created.py) to display this timestamp in human readable form.
In Mailman 3 this is a datetime.datetime object. you can display it in mailman shell, e.g.,
$ mailman shell -l test.example.net Welcome to the GNU Mailman shell The variable 'm' is the test.example.net mailing list
datetime.datetime(2018, 8, 4, 18, 12, 19, 331435)
in this case, the list was created on 2018-04-18 at 18:12:19.331435