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

error logic when scroll month #35

Open
Xing1P opened this issue Dec 3, 2016 · 8 comments
Open

error logic when scroll month #35

Xing1P opened this issue Dec 3, 2016 · 8 comments
Assignees
Labels

Comments

@Xing1P
Copy link

Xing1P commented Dec 3, 2016

current date is 12/2016 but when scroll to back calendar view month 11/2015

@SpongeBobSun
Copy link
Owner

Let me check

@SpongeBobSun SpongeBobSun self-assigned this Dec 5, 2016
@Xing1P
Copy link
Author

Xing1P commented Dec 6, 2016

thank...

@Xing1P
Copy link
Author

Xing1P commented Dec 6, 2016

i see...

  • your code before
    //ret = tmpYear - ((500 - pos)+tmpMonth - 1)/12;
    ret = tmpYear - ((500 - pos)+tmpMonth)/12;
    // ret = tmpYear - ((500-pos)/12); //oong
  • your code now
    ret = tmpYear - ((500 - pos)+tmpMonth - 1)/12;
    // ret = tmpYear - ((500-pos)/12); //oong
    thank you very much for your....

@Xing1P
Copy link
Author

Xing1P commented Dec 6, 2016

oh,when current date 12/2016 and travetto 11/2016 and then i scroll forward to 12/2016 but on month change it show 12/2017...

@SpongeBobSun
Copy link
Owner

Will fix in about 48 hour. Currently working on companies code. So let me debug it tonight.

Also a pull request is welcome if you fixed this by yourself.

Thanks.

@Xing1P
Copy link
Author

Xing1P commented Dec 6, 2016

yes,thank...

@SpongeBobSun
Copy link
Owner

Can not reproduce.

Works fine on both mcalendarview and expcalendarview in the latest build.

Have you tried pull the latest code ?

Close this issue for now. If this still happens please re-open it.

Thanks.

@SpongeBobSun
Copy link
Owner

Reproduced. Only happens when travleto is called.

Need more time to fix this.

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

No branches or pull requests

2 participants