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(module: calendar): fix calendar date bug #874

Merged

Conversation

aijunhao
Copy link
Collaborator

@aijunhao aijunhao commented Feb 7, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

2nd of April is displayed twice when AEDT timezone is used. Some special dates are not 24 hours a day,so currentDay calculation error in the datepicker.base.component.ts file on lie 117.

Issue Number: #866

What is the new behavior?

Use new Date() to get the next day.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@fisherspy fisherspy merged commit 3210fa7 into NG-ZORRO:master Feb 7, 2023
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.

None yet

2 participants