Monday Tuesday Happy Days


#1

Hello, i have a succes with test 5 “Future”, but when i submit, i get the test 5 “past” wrong, any idea why ?
my code work for all the cases


#2

Hi,
I’m having the same problem - have you managed to work out what went wrong?


#3

No, i still have 100% in the IDE with test cases (test case 5 “Future”) and only 80% in submiting (test case 5 “Past” is wrong)


#4

@AchrafLy @Just5MoreMinutes
The only difference I see between the first set of test cases and the last one is that the validator has several months of difference between the two dates. Here’s the input:
0
Wednesday Jul 12
May 6

Does that help?


#5

Hello,

I get the validator 3 “How about now?” wrong on submit, any idea why?
my code work for all the cases on test.


#6

what if the given date to compute day of the week is the same as the given date?


#7

I saw no problem, the code worked correctly.
Could you inform the inputs to test?


#8

sent them to you in PM. Please don’t hesitate to share here what was wrong in your code. Could help others.


#9

Thank you.
The error in my code happened when the given date was at the end of February of a leap month.

Sorry about my English.