Skip to content

fix: use UTC for materials/proceedings cutoff checks - #4615

Merged
jennifer-richards merged 1 commit into
ietf-tools:feat/tzawarefrom
painless-security:jennifer/materials-tz
Oct 20, 2022
Merged

fix: use UTC for materials/proceedings cutoff checks#4615
jennifer-richards merged 1 commit into
ietf-tools:feat/tzawarefrom
painless-security:jennifer/materials-tz

Conversation

@jennifer-richards

Copy link
Copy Markdown
Member

Fixes #4436

Comment thread ietf/meeting/models.py

def is_material_submission_cutoff(self):
return date_today(self.meeting.tz()) > self.meeting.get_submission_correction_date()
return date_today(datetime.timezone.utc) > self.meeting.get_submission_correction_date()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good find. Makes no sense that this was tied to meeting timezone.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks (though I'm probably responsible for tying it there to begin with....)

@jennifer-richards
jennifer-richards merged commit 000e843 into ietf-tools:feat/tzaware Oct 20, 2022
@jennifer-richards
jennifer-richards deleted the jennifer/materials-tz branch October 20, 2022 14:39
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants