8 kyu
Remove the time
7,459 of 18,563radiocontrolled
Loading description...
Date Time
Parsing
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
Haskell translation
PHP: the time in random tests should not be fixated to a few pre-defined values
JS: Invalid dates will be generated which contradicts with kata specs
Scala translation
Approved
Updated CoffeeScript tests
Updates to chai, adds assertion messages, and formats test output.
Self-approved by OP
https://www.codewars.com/kumite/6449213ca64ff40064018444?sel=6449213ca64ff40064018444 java translation yep
Approved.
Description should be language-agnostic and segmented into
task
,input
,output
andexample
sections properly!Handled.
chai
andassert
should be used in JSFixed in CS
Python new test framework should be used
Python update
Approved
this task is more about string skills than date skills. I suggest changing this
Hi, anyone knows by any chance why is keep showing in the search list filter by "Kata I hve not trained on" even if I complted this task 2 times?!
I completed this Kata serveral times. but it still says it's not complted on the list.
User deleted his/her account. Closing.
I keep getting this error. I have these included as as parameters for the function.
TypeError: shorten_to_date() missing 3 required positional arguments: 'month', 'date', and 'time'
You shouldn't have more than one argument, at least that's how the function is called in the tests:
Alright gotcha. Thanks!
Ruby 3.0 should be enabled.
Enabled in this fork
Hi, can you please tell me why my function doesn't validate although it returns the exact assertion results? Cause it does on separate other platforms with both taking the real-time dates and just a string input as parameter. Thanks.
Post your code following these directions: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#post-discourse
Javascript version is working for me.
Python 3 should be enabled.
Great Kata!
Swift translation added :)
pressing submit shows test has passed but doesnt actually let me submit?
That's CW's problem. Be patient and keep trying until you succeed.
Thanks
PHP translation added.
This comment has been hidden.
Printing it is useless.
This comment has been hidden.
For some reason this one really stumped me lol! Great Kata.
Translated into both Python and Ruby, if you want to approve them; you should also put random test cases into it, tell me if I could help :)
Should include basic tests.
Added now, thanks
You should definitly add example test cases or update the description to make clear what's exactly the in- and output.
Example test cases are now there as with an updated description clarifying in/output formats. Thanks for the suggestion.
Needs Example and random test cases :)
Hey Matt, added example test cases a few days ago and have now added random test cases as per outlined in this tutorial - https://github.com/codingforeveryone/READMEs/blob/master/random-test-cases-for-complete-beginners.md