From e0982534b3aaff0bb20fbe68b077ba24372ee0a2 Mon Sep 17 00:00:00 2001 From: Yingtong Li Date: Sun, 10 Feb 2019 17:42:00 +1100 Subject: [PATCH] Fix bulletin subject date format --- sspromotions/management/commands/sendbulletin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sspromotions/management/commands/sendbulletin.py b/sspromotions/management/commands/sendbulletin.py index 323855c..d7d7c38 100644 --- a/sspromotions/management/commands/sendbulletin.py +++ b/sspromotions/management/commands/sendbulletin.py @@ -90,7 +90,7 @@ class Command(BaseCommand): client = boto3.client('ses', aws_access_key_id=settings.AWS_KEY_ID, aws_secret_access_key=settings.AWS_SECRET, region_name=settings.AWS_REGION) - title = '{} News: {}'.format(settings.ORG_NAME, timezone.now().strftime('%d %m %Y')) + title = '{} News: {}'.format(settings.ORG_NAME, timezone.now().strftime('%d %B %Y')) calbegin, calend, bulbegin, bulend = sspromotions.utils.bulletin_dates(timezone.now()) events = list(sspromotions.utils.get_calendar_events(calbegin, calend))