23 lines
632 B
TypeScript
23 lines
632 B
TypeScript
/**
|
|
* 日期格式化
|
|
*/
|
|
export declare const formatDateTime: (time: string | Date, template?: string) => string | Date;
|
|
/**
|
|
* 日期格式化
|
|
*/
|
|
export declare const fDT: (time: string | Date, template?: string) => string | Date;
|
|
/**
|
|
* 转换日期格式并带T
|
|
* 2022/2/9 19:33:33 => 2022-02-09T19:33:33
|
|
* @param date
|
|
* @returns
|
|
*/
|
|
export declare const formDateTimeAddT: (date: string | Date) => string | Date;
|
|
/**
|
|
* 转换日期格式并带T
|
|
* 2022/2/9 19-33-33 => 2022-02-09T19-33-33
|
|
* @param date
|
|
* @returns
|
|
*/
|
|
export declare const fDTAT: (date: string | Date) => string | Date;
|
|
//# sourceMappingURL=date.d.ts.map
|