Skip to content

Commit 243ab08

Browse files
[DateFns] Pass locale to the parse (#406)
* [dayjs] add locale to parse methods dayjs call * [dayjs] format
1 parent 442965f commit 243ab08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dayjs/src/dayjs-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default class DayjsUtils implements IUtils<defaultDayjs.Dayjs> {
102102
return null;
103103
}
104104

105-
return this.dayjs(value, format);
105+
return this.dayjs(value, format, this.locale);
106106
}
107107

108108
public date(value?: any) {

0 commit comments

Comments
 (0)