utiller 1.0.264 → 1.0.265
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/utiller/index.js
CHANGED
|
@@ -222,7 +222,7 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
222
222
|
// 結束計時
|
|
223
223
|
endTime = Date.now(); // 計算總運行時間(毫秒)
|
|
224
224
|
durationInMilliseconds = endTime - startTime; // 使用 moment.duration 格式化為 hh:mm:ss.SSS
|
|
225
|
-
duration =
|
|
225
|
+
duration = _moment["default"].duration(durationInMilliseconds, "milliseconds");
|
|
226
226
|
hours = Math.floor(duration.asHours());
|
|
227
227
|
minutes = duration.minutes();
|
|
228
228
|
seconds = duration.seconds();
|
package/package.json
CHANGED