-
-
Notifications
You must be signed in to change notification settings - Fork 39.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests in Friendly Date Ranges Bonfire #410
Comments
We're a little backlogged right now so if you can submit a PR to clean this up it would be much appreciated. |
ahstro
pushed a commit
to ahstro/freecodecamp
that referenced
this issue
Jul 8, 2015
This was referenced Mar 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One of the tests for that bonfire is :
friendly(['2016-03-01', '2016-05-05'])
, which is supposed to give :['March 1st','May 5th, 2016']
.And another test is the same bonfire is :
friendly(['2015-12-01', '2016-02-03'])
, which is supposed to give :['December 1st','February 3rd']
.This doesn't make sense. If it can be inferred, based on the difference being one month apart, that it's the next year, for the second case, then it should also be possible for the first case too. March and May are one month apart, so the output should be
['March 1st','May 5th']
just like the second case.The text was updated successfully, but these errors were encountered: