mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 1.0 beta
This commit is contained in:
9
src/plugins/dayjs.ts
Normal file
9
src/plugins/dayjs.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { extend } from 'dayjs';
|
||||
import localeData from 'dayjs/plugin/localeData';
|
||||
import { setDayjsLocale } from '../locales/dayjs';
|
||||
|
||||
export function setupDayjs() {
|
||||
extend(localeData);
|
||||
|
||||
setDayjsLocale();
|
||||
}
|
Reference in New Issue
Block a user