+1
-1
| { | ||
| "name": "wft-utils", | ||
| "version": "1.49.1", | ||
| "version": "1.49.2", | ||
| "description": "The commonly used tool functions in daily development", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+2
-2
@@ -123,7 +123,7 @@ /** | ||
| * 标准时间转为时间戳 | ||
| * @param {*} dateTime | ||
| * @param {string} dateTime | ||
| * @returns | ||
| */ | ||
| export function dateTimeToStamp(dateTime) { | ||
| return Date.parse(new Date(dateTime)) | ||
| return Date.parse(dateTime) | ||
| } | ||
@@ -130,0 +130,0 @@ |
96052
-0.01%