Update the thread name to have the members

This commit is contained in:
Marc Di Luzio 2024-08-12 19:29:47 +01:00
parent 3ea779f7f2
commit bebef9d38a
3 changed files with 8 additions and 4 deletions

View file

@ -12,9 +12,9 @@ def get_day_with_suffix(day):
def format_today():
"""Format the current datetime"""
now = datetime.now()
day = get_day_with_suffix(now.day)
month = now.strftime("%B")
return f"{day} {month}"
num = get_day_with_suffix(now.day)
day = now.strftime("%a")
return f"{day} {num}"
def format_list(list) -> str: