Files
gpustack-ui/src/global.tsx
T
2024-08-28 14:51:20 +08:00

13 lines
404 B
TypeScript

// Logic that runs globally and before the application will be executed here
import dayjs from 'dayjs';
import localizedFormat from 'dayjs/plugin/localizedFormat';
import relativeTime from 'dayjs/plugin/relativeTime';
import timezone from 'dayjs/plugin/timezone';
import utc from 'dayjs/plugin/utc';
dayjs.extend(localizedFormat);
dayjs.extend(utc);
dayjs.extend(timezone);
dayjs.extend(relativeTime);