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

Click Next Month Button on Last Day of Month Skips a Month #434

Closed
scottnash opened this issue Feb 1, 2019 · 2 comments
Closed

Click Next Month Button on Last Day of Month Skips a Month #434

scottnash opened this issue Feb 1, 2019 · 2 comments

Comments

@scottnash
Copy link

If it's the last day of the month and you click the next month button/arrow, it actually skips the following month, and jumps to the month after that.

For example, if it's Jan. 31st and you click next month button it will take you to March instead of Feb. If you then click the previous month button, it will take you back to Feb. and if you click it again, it will take you to January, where if you click the next month again, it takes you correctly to Feb.

Expected Behavior
On January 31st -> click next month -> go to February

Actual Behavior
On January 31st -> click next month -> go to March

JosephusPaye added a commit that referenced this issue Feb 2, 2019
… month

Previously it would jump *another* month before or after the desired month, which has the current date.

See #434
@JosephusPaye
Copy link
Owner

Hi @scottnash,

Just had a look and this happens when the selected date (e.g. Jan 31st) is not available in the next or previous month (Feb doesn't have a 31st). When this happens it skips the month and goes to the next.

Fixed this and about to publish a patch release.

JosephusPaye added a commit that referenced this issue Feb 2, 2019
… month

Previously it would jump *another* month before or after the desired month, which has the current date.

See #434
@JosephusPaye
Copy link
Owner

Fix released in v1.0.2 and v1.1.1.

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