Skip to content

Commit

Permalink
fix(core): add missing localizedFormat plugin support for dayjs (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai authored Nov 15, 2024
1 parent 859907c commit 629db60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/shared/dayjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import dayjs from 'dayjs';
import advancedFormat from 'dayjs/plugin/advancedFormat';
import customParseFormat from 'dayjs/plugin/customParseFormat';
import localeData from 'dayjs/plugin/localeData';
import localizedFormat from 'dayjs/plugin/localizedFormat';
import utc from 'dayjs/plugin/utc';
import weekday from 'dayjs/plugin/weekday';
import weekOfYear from 'dayjs/plugin/weekOfYear';
Expand All @@ -30,5 +31,6 @@ dayjs.extend(localeData);
dayjs.extend(weekOfYear);
dayjs.extend(weekYear);
dayjs.extend(utc);
dayjs.extend(localizedFormat);

export { dayjs };

0 comments on commit 629db60

Please sign in to comment.