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

Finding Current Month gives insane results!!! #207

Closed
gabhisekdev opened this issue Feb 16, 2016 · 6 comments
Closed

Finding Current Month gives insane results!!! #207

gabhisekdev opened this issue Feb 16, 2016 · 6 comments

Comments

@gabhisekdev
Copy link

I have been quite experimenting your framework before applying finally in my projects.I think this might be a bug. For eg. take the date of January 1st,2018. Here when user scrolls to the month of Jan in the year 2018, the current month shows it as 31.12.2017. Its because 31.12.2017 falls on the same week as 1.1.2018 i.e on monday. So current page returns december's date but not January's. And the more insane thing is that it is currently happening for that particular case!!!
Please do you have any idea to fix this??

@WenchaoD
Copy link
Owner

Can u provide more details?

@WenchaoD
Copy link
Owner

Sorry, bad network. I'll check it

@gabhisekdev
Copy link
Author

Ya please....
It is only happening when u scroll from the month of Dec,2017 to Jan,2018. when the calendarCurrentPageDidChange() is called the current year shows 2017 not, 2018. Please only scroll upto Jan,2018 not more than that,you can get the error.

@gabhisekdev
Copy link
Author

https://www.dropbox.com/s/qc86wc894le6xgv/CALENDER.zip?dl=0 - Here is how I have utilised the calender. Please have a check on that.

@WenchaoD
Copy link
Owner

image

Did I miss something?

@WenchaoD
Copy link
Owner

Can u try to make this change(line 171) of FSCalendar.m ?

image

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