UNPKG

@uozi-admin/curd

Version:
33 lines (32 loc) 1.2 kB
export declare const DEFAULT_DATE_FORMAT = "YYYY-MM-DD"; export declare const DEFAULT_DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss"; export declare const DEFAULT_TIME_FORMAT = "HH:mm:ss"; export declare const DEFAULT_YEAR_FORMAT = "YYYY"; export declare const DEFAULT_MONTH_FORMAT = "YYYY-MM"; export declare const DEFAULT_WEEK_FORMAT = "YYYY-wo"; export declare const DATE_FORMAT = "YYYY-MM-DD"; export declare const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss"; export declare const TIME_FORMAT = "HH:mm:ss"; export declare const YEAR_FORMAT = "YYYY"; export declare const MONTH_FORMAT = "YYYY-MM"; export declare const WEEK_FORMAT = "YYYY-wo"; declare let globalDateFormats: { date: string; datetime: string; time: string; year: string; month: string; week: string; }; export declare function setGlobalDateFormats(formats: Partial<typeof globalDateFormats>): void; export declare function getGlobalDateFormats(): { date: string; datetime: string; time: string; year: string; month: string; week: string; }; export declare function getDateFormat(type: keyof typeof globalDateFormats): string; export declare const Format: Record<string, string>; export {};