Skip to content

Commit

Permalink
[DateFns] Pass locale to the parse (#406)
Browse files Browse the repository at this point in the history
* [dayjs] add locale to parse methods dayjs call

* [dayjs] format
  • Loading branch information
PaulSavignano authored Jul 1, 2020
1 parent 442965f commit 243ab08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dayjs/src/dayjs-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class DayjsUtils implements IUtils<defaultDayjs.Dayjs> {
return null;
}

return this.dayjs(value, format);
return this.dayjs(value, format, this.locale);
}

public date(value?: any) {
Expand Down

0 comments on commit 243ab08

Please sign in to comment.