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

[OF#3671] Fix max date validation when current included #616

Merged

Conversation

vaszig
Copy link
Contributor

@vaszig vaszig commented Dec 18, 2023

@vaszig vaszig marked this pull request as draft December 18, 2023 16:28
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (29cbaa3) 72.71% compared to head (4623e84) 73.72%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #616      +/-   ##
==========================================
+ Coverage   72.71%   73.72%   +1.01%     
==========================================
  Files         214      214              
  Lines        4343     4343              
  Branches     1162     1162              
==========================================
+ Hits         3158     3202      +44     
+ Misses       1146     1102      -44     
  Partials       39       39              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vaszig
Copy link
Contributor Author

vaszig commented Dec 19, 2023

Tried to add a story-test for max date but same problem as for the min date. Can't find the way to make this pass automatically (it does show the error when we enter manually a wrong date).

@vaszig vaszig marked this pull request as ready for review December 19, 2023 07:46
@sergei-maertens sergei-maertens added the needs-backport Fix must be backported to stable release branch label Dec 19, 2023
@sergei-maertens sergei-maertens merged commit 62ec9d3 into main Dec 19, 2023
15 of 16 checks passed
@sergei-maertens sergei-maertens deleted the of-3671/fix-maxdate-validation-when-current-included branch December 19, 2023 09:01
sergei-maertens pushed a commit that referenced this pull request Dec 19, 2023
@sergei-maertens
Copy link
Member

Backports: 67678ae

The validator code is not present in stable/1.5.x or older.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-backport Fix must be backported to stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Max date validation in the past doesn't take 'Including current date' into account
2 participants