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

fix: (core:calendar) nextDay() method increasing year when used for date in January #1767

Conversation

salarenko
Copy link
Contributor

Please provide a link to the associated issue.

Issue: #1740

Please provide a brief summary of this pull request.

This pull request changes implementation of calculation of the next year in FdDate.nextDay() method. Year is now correctly calculated based on change of the month.

Cause of the bug was year calculation based on number of the moth, ignoring information about month change.

@claassistantio
Copy link

claassistantio commented Dec 30, 2019

CLA assistant check
All committers have signed the CLA.

@claassistantio
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@netlify
Copy link

netlify bot commented Dec 30, 2019

Deploy preview for fundamental-ngx ready!

Built with commit 015b0ad

https://deploy-preview-1767--fundamental-ngx.netlify.com

@salarenko salarenko changed the title fix: nextDay() method increasing year when used for date in January fix: (core:calendar) nextDay() method increasing year when used for date in January Dec 30, 2019
@JKMarkowski JKMarkowski added the datepicker date picker related issues label Dec 30, 2019
@JKMarkowski JKMarkowski added this to In progress in Development via automation Dec 30, 2019
Copy link
Contributor

@JKMarkowski JKMarkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Development automation moved this from In progress to Reviewer approved Dec 30, 2019
@JKMarkowski JKMarkowski merged commit ec01a46 into SAP:master Jan 2, 2020
Development automation moved this from Reviewer approved to Done Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datepicker date picker related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants