Ad
  • Custom User Avatar

    Yes, it still works.

    It's looking like in the sample tests it's passing the dates as year, month, day and then for the "attempt" it's testing year-month-day [...]

    That's not what is happening. Both sample tests and "attempt" tests work with the same input format. What you're seeing is simply a date represented as a string in the format YYYY-MM-DD. You can confirm this yourself by printing the input. See: https://docs.codewars.com/training/troubleshooting/#print-input

    Your code is incorrect, not a kata issue.