-
Notifications
You must be signed in to change notification settings - Fork 119
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
Selecting last day of the week jumps to next week when firstDayOfWeek set to Monday #88
Comments
Thanks for the succinct bug report. Do you think this has to do with the I don't remember offhand, but there are probably some utility methods to determine what range of dates is being shown and then to determine if the selected day is in the visible range. Mostly, this has to do with the month view, because you can select dates in other months where weeks overlap two months. Again, not sure, but that's where I'd start. |
I don' think it had to do with my change, but I haven't confirmed that. I think the issue resides in
We've had some luck by making the following change, but I'm not sure this is the right answer for the generalized solution (for weeks starting on anything other than Monday).
|
Has this solution been working out for you? |
Actually sorry to say I've switched to using another Calendar library (as I wanted something a little more decoupled). |
That's disappointing, but I totally understand. Which library are you using? |
This is the project I'm currently using. https://github.com/jonathantribouharet/JTCalendar/ |
Cool. MBCalendarKit 5 moves towards that decoupling a bit with a lot of re-architecting. Most significantly, the calendar view no longer automatically installs the table view. Now, that behavior is only provided by Since I doubt there's any point to keeping it open, do you mind if we close this? |
Steps to reproduce:
Observed: The week shown jumps forward by 1 week.
Expected: The day should be selected, but the week shown should remain the same.
The text was updated successfully, but these errors were encountered: