mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
10 lines
287 B
TypeScript
10 lines
287 B
TypeScript
import dayjs from 'dayjs';
|
|
import advancedFormat from 'dayjs/plugin/advancedFormat';
|
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
|
|
// Import dayjs from this module so these plugins are registered.
|
|
dayjs.extend(advancedFormat);
|
|
dayjs.extend(relativeTime);
|
|
|
|
export default dayjs;
|