diff --git a/docs/pages/demo/datepicker/index.mdx b/docs/pages/demo/datepicker/index.mdx index b626f9d5b31639..ca99f1fed3c32d 100644 --- a/docs/pages/demo/datepicker/index.mdx +++ b/docs/pages/demo/datepicker/index.mdx @@ -72,6 +72,7 @@ Sometimes it's required to display additional info right in the calendar. Here i and displaying server side data using `onMonthChange`, `loading` and `renderDay` props. + #### API diff --git a/lib/jest.config.js b/lib/jest.config.js index 297810b612f2bb..8ef9a46f77791a 100644 --- a/lib/jest.config.js +++ b/lib/jest.config.js @@ -8,7 +8,7 @@ module.exports = { transform: { '^.+\\.(ts|tsx)?$': 'ts-jest', }, - modulePathIgnorePatterns: ["/src/__tests__/dist/"], + modulePathIgnorePatterns: ['/src/__tests__/dist/'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], coveragePathIgnorePatterns: ['/src/__tests__/'], globals: { diff --git a/lib/src/__tests__/DatePicker.test.tsx b/lib/src/__tests__/DatePicker.test.tsx index 28dac5e3acf6d8..996c704420d6e0 100644 --- a/lib/src/__tests__/DatePicker.test.tsx +++ b/lib/src/__tests__/DatePicker.test.tsx @@ -248,4 +248,3 @@ it('Should not add to loading queue when synchronous', () => { 'Enter Date' ); }); - diff --git a/lib/src/_helpers/time-utils.ts b/lib/src/_helpers/time-utils.ts index adaa428d08700c..712b7cef8f2102 100644 --- a/lib/src/_helpers/time-utils.ts +++ b/lib/src/_helpers/time-utils.ts @@ -134,7 +134,12 @@ export interface TimeValidationProps { export const validateTime = ( utils: MuiPickersAdapter, value: MaterialUiPickersDate | ParsableDate, - { minTime, maxTime, shouldDisableTime, disableIgnoringDatePartForTimeValidation }: TimeValidationProps + { + minTime, + maxTime, + shouldDisableTime, + disableIgnoringDatePartForTimeValidation, + }: TimeValidationProps ) => { const date = utils.date(value); const isAfterComparingFn = createIsAfterIgnoreDatePart(