Skip to content

Commit c74a973

Browse files
committed
fix: Increased bundle size in v11 (fixes #1069)
1 parent d71488b commit c74a973

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/VueDatePicker/utils/date-utils.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ import type {
4444
} from '@/interfaces';
4545

4646
import type { Duration, Locale } from 'date-fns';
47-
import { padZero } from '../../../tests/utils.ts';
47+
48+
export const padZero = (val: number) => (val < 10 ? `0${val}` : val);
4849

4950
const parseTextToDate = (
5051
value: string,

0 commit comments

Comments
 (0)