Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct submissions log date comparison (hide download if > 28 days old) #3755

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

jessicamcinchak
Copy link
Member

@jessicamcinchak jessicamcinchak commented Oct 3, 2024

Noticed when merged to staging - eg buttons should be hidden here because > 28 days old https://editor.planx.dev/southwark/apply-for-planning-permission/submissions-log (should help minimise prevalence of "cannot find published flow" error on staging, but that's another topic!)

Was my mistake - just a quick swap of comparison dates here so we're correctly calculating the expiry date from the submission event, not now as before.

Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

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

Good catch!

Copy link

github-actions bot commented Oct 3, 2024

Removed vultr server and associated DNS entries

@jessicamcinchak jessicamcinchak merged commit 299af4c into main Oct 3, 2024
12 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/fix-submission-download-expiry-logic branch October 3, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants