Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I am guessing the problem arises from the use of Locale.
The locale string might be different for your place while different for the codewars platform.
In either case, a simple
console.log(date)
after the reassignment ofdate
will show you the problem.Hard to say without seeing your code.
But a common mistake on this kata is to mistake the date object for a string.
If that's not the case with you, just post your code here(mark it as spoiler).