Skip to content

Commit

Permalink
Merge branch 'react-component:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyf665 authored Dec 18, 2024
2 parents df6676b + f58068e commit 0708b14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-picker",
"version": "4.8.2",
"version": "4.8.3",
"description": "React date & time picker",
"keywords": [
"react",
Expand Down
9 changes: 6 additions & 3 deletions src/generate/dayjs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import { noteOnce } from 'rc-util/lib/warning';
import weekday from 'dayjs/plugin/weekday';
import localeData from 'dayjs/plugin/localeData';
import weekOfYear from 'dayjs/plugin/weekOfYear';
Expand Down Expand Up @@ -100,9 +99,13 @@ const parseLocale = (locale: string) => {
return mapLocale || locale.split('_')[0];
};

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

const generateConfig: GenerateConfig<Dayjs> = {
Expand Down

0 comments on commit 0708b14

Please sign in to comment.