13 lines
443 B
TypeScript
13 lines
443 B
TypeScript
|
import * as dayjs from 'dayjs';
|
||
|
import * as customParseFormat from 'dayjs/plugin/customParseFormat';
|
||
|
import * as duration from 'dayjs/plugin/duration';
|
||
|
import * as relativeTime from 'dayjs/plugin/relativeTime';
|
||
|
|
||
|
// jhipster-needle-i18n-language-dayjs-imports - JHipster will import languages from dayjs here
|
||
|
import 'dayjs/locale/es';
|
||
|
|
||
|
// DAYJS CONFIGURATION
|
||
|
dayjs.extend(customParseFormat);
|
||
|
dayjs.extend(duration);
|
||
|
dayjs.extend(relativeTime);
|