Describe the issue
The agenda.html template includes
{% if now.date <= schedule.meeting.end_date %}
where now = timezone.now().astimezone(pytz.utc) (as set in the agenda() view). The date in the meeting timezone should be used for this comparison, not utc. Ideally, should try to avoid comparing dates - might be better to define a datetime that indicates the end of the meeting.
Code of Conduct
Describe the issue
The
agenda.htmltemplate includeswhere
now = timezone.now().astimezone(pytz.utc)(as set in theagenda()view). The date in the meeting timezone should be used for this comparison, not utc. Ideally, should try to avoid comparing dates - might be better to define a datetime that indicates the end of the meeting.Code of Conduct