feat: funjia工具库v1.0.0版本
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* 日期格式化
|
||||
*/
|
||||
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
|
||||
Reference in New Issue
Block a user