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

Cards reminder error when Task advanced card has nth day of month greater than month number of days (#5617) #5679

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

vlo-rte
Copy link
Contributor

@vlo-rte vlo-rte commented Dec 28, 2023

I added a control to forbid numbers greater than 31. I also added a check to avoid doing valueOf() on an undefined object.
But I think this is normal to not have reminder if the user create a card with, for example, "30th day of month" and "february".
The user must be careful when he creates his card.

…ater than month number of days (#5617)

Signed-off-by: vlo-rte <valerie.longa@rte-france.com>
Copy link

sonarcloud bot commented Dec 28, 2023

Quality Gate Failed Quality Gate failed

Failed conditions

22.2% Coverage on New Code (required ≥ 50%)

See analysis details on SonarCloud

@freddidierRTE freddidierRTE merged commit cba2de6 into develop Jan 8, 2024
7 of 8 checks passed
@freddidierRTE freddidierRTE deleted the FE-5617 branch January 8, 2024 13:41
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.

Cards reminder error when Task advanced card has nth day of month greater than month number of days
2 participants