Skip to content
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

VueCalendar in the example code fails to pass the test #11

Closed
radovanobal opened this issue Mar 1, 2020 · 2 comments
Closed

VueCalendar in the example code fails to pass the test #11

radovanobal opened this issue Mar 1, 2020 · 2 comments

Comments

@radovanobal
Copy link

Describe the bug
A clear and concise description of what the bug is.

Description of the test indicates that the tests expects 50 years in the future and 50 in the past to be rendered, but it actually gets 70 in the future and 30 in to the past, but since the starting point is 1/1/2000 it fails on everyting.

what we get is 1970 at 1 and 2070 at x+n, this is 30 years in the past from 2000 and 70 in the future from 2000
Ether the test tests for the worng thig or the renders the wrong thing. Since it's not clear on the start guide if the the test is ment to fail and requires the user to update the code or if this is a mistake I decided to report the issue.

file: VueCalendar.spec.ts
line: 206

@devCrossNet
Copy link
Member

Hey!

Sorry, I already fixed it in the new version but it takes much longer than expected to release it.

Here is the fix: vuesion/vuesion#496

@devCrossNet
Copy link
Member

I fixed it in the master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants