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.
Random tests provide Date instances, while fixed tests provide strings.
Retired.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/126.
Please join the discussion to help us identify duplicate kata and retire them.
Rounding requirement should be fixed to using
assert.approx_equals
JS node 12 should be enabled
Missing
describe
+it
blocks for random testsThere should be example tests in description
This comment is hidden because it contains spoiler information about the solution
93 passed, and only 1 failed for "2/24/1982". Instead of 'Wednesday', I get 'Tuesday'. What can be my problem here?
Fixed
This is definitely an exact repeat of another kata.
Well, i don't really know why that's happening, but i fixed my tests a bit, so it prevent you from doing this. ;)
Description should make mention that the dates passed in can sometimes be a string and sometimes a
Date
object. I was aware of some input dates passed in as actualDate
object only after attempting the test cases and receiving an error which should not be the case.Added random tests.
This kata needs random tests.
This comment is hidden because it contains spoiler information about the solution
I changed it up to keep this from happening. Thank you for the feedback.
I changed it up and now the function will need to take a date argument and need to return the day. Yeah first Kata. Thanks for the tips.
Loading more items...