Skip to content

Commit 0708b14

Browse files
authored
Merge branch 'react-component:master' into master
2 parents df6676b + f58068e commit 0708b14

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-picker",
3-
"version": "4.8.2",
3+
"version": "4.8.3",
44
"description": "React date & time picker",
55
"keywords": [
66
"react",

src/generate/dayjs.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import type { Dayjs } from 'dayjs';
22
import dayjs from 'dayjs';
3-
import { noteOnce } from 'rc-util/lib/warning';
43
import weekday from 'dayjs/plugin/weekday';
54
import localeData from 'dayjs/plugin/localeData';
65
import weekOfYear from 'dayjs/plugin/weekOfYear';
@@ -100,9 +99,13 @@ const parseLocale = (locale: string) => {
10099
return mapLocale || locale.split('_')[0];
101100
};
102101

102+
/* istanbul ignore next */
103103
const parseNoMatchNotice = () => {
104-
/* istanbul ignore next */
105-
noteOnce(false, 'Not match any format. Please help to fire a issue about this.');
104+
// zombieJ:
105+
// When user typing, its always miss match format.
106+
// This check is meaningless.
107+
// https://github.com/ant-design/ant-design/issues/51839
108+
// noteOnce(false, 'Not match any format. Please help to fire a issue about this.');
106109
};
107110

108111
const generateConfig: GenerateConfig<Dayjs> = {

0 commit comments

Comments
 (0)