-
Notifications
You must be signed in to change notification settings - Fork 4k
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:date-picker): keep the time value while clicking date #3911
Conversation
Deploy preview for ng-zorro-master ready! Built with commit da5e3fd |
Codecov Report
@@ Coverage Diff @@
## master #3911 +/- ##
==========================================
+ Coverage 95.24% 95.24% +<.01%
==========================================
Files 726 726
Lines 14672 14672
Branches 1910 1909 -1
==========================================
+ Hits 13974 13975 +1
Misses 260 260
+ Partials 438 437 -1
Continue to review full report at Codecov.
|
.setMonth(value.getMonth()) | ||
.setDate(value.getDate()); | ||
|
||
if (this.value !== newValue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CandyDate
的 setxxx
方法返回的都是新的实例,判断总会是 false
3309a7e
to
da5e3fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This should be a fix. |
…ZORRO#3911) * chore(module:date-picker): keep the time value while clicking date * chore: delete jugdement
…ZORRO#3911) * chore(module:date-picker): keep the time value while clicking date * chore: delete jugdement
close #2576, close #1949
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information