-
Notifications
You must be signed in to change notification settings - Fork 24
Calculate penalty expiration based on event date instead of current date #3568
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
base: master
Are you sure you want to change the base?
Conversation
ce47a83 to
dc95e8e
Compare
|
This should probably get fixed when the new penalty rules get merged, so not that important to merge |
jonasdeluna
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 👍👍
ivarnakken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this makes more sense 👍🏼
f9d3103 to
617ede8
Compare
617ede8 to
59c288d
Compare
Bestem0r
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great change!
This just makes sense in my opinion. A few incidents have happened where a penalty weight has to be changed or a penalty being deleted by accident has to be added again. When the penalty is added again, the expiration date would be later since it is calculated based on when it was created instead of the event date.
after:

I made these penalties at the same time