Fix bulletin subject date format
This commit is contained in:
parent
3623a5ad58
commit
e0982534b3
@ -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)
|
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())
|
calbegin, calend, bulbegin, bulend = sspromotions.utils.bulletin_dates(timezone.now())
|
||||||
events = list(sspromotions.utils.get_calendar_events(calbegin, calend))
|
events = list(sspromotions.utils.get_calendar_events(calbegin, calend))
|
||||||
|
Loading…
Reference in New Issue
Block a user