mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix calendar month range display (#14049)
This commit is contained in:
parent
a46f027b0c
commit
f092d5a32e
@ -83,7 +83,8 @@ export default class Header extends React.Component<HeaderProps, any> {
|
||||
const currentYear = value.get('year');
|
||||
if (rangeEnd.get('year') === currentYear) {
|
||||
end = rangeEnd.get('month') + 1;
|
||||
} else if (rangeStart.get('year') === currentYear) {
|
||||
}
|
||||
if (rangeStart.get('year') === currentYear) {
|
||||
start = rangeStart.get('month');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user