Skip to content

fix: Wrong month & year assignment for auto-range multi calendars #929

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

Merged

Conversation

Tsuyoshi84
Copy link
Contributor

This PR solves #909, in which the second calendar appears with the wrong year and month when simultaneously using auto-range and multi-calendar features.

Upon investigation, I found that the year and month values were mistakenly assigned interchangeably in the handleNextCalendarAutoRange function, leading to the bug.

After fixing it, I confirmed that the second calendar showed the correct year and month.

@Jasenkoo Jasenkoo merged commit 57a17e0 into Vuepic:main Jul 1, 2024
1 of 2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants