utiller 1.0.353 → 1.0.354

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.
@@ -601,10 +601,10 @@ var Utiller = /*#__PURE__*/function () {
601
601
  _.padStart('1', 6, '0')
602
602
  把 1 補滿到 6 位 → 000001
603
603
  字串相加後就是 20250818000001
604
- console.log(getSignOfFormatDate('2025/08/18')); // 20250818000001
604
+ console.log(getSignOfFormatDate('2025/08/18(一) 12:00 - 14:00')); // 20250818000001
605
605
  */
606
606
  (0, _defineProperty2["default"])(this, "getSignOfFormatDate", function (dateStr) {
607
- return _lodash["default"].replace(dateStr, /\//g, "") + _lodash["default"].padStart("1", 6, "0");
607
+ return _lodash["default"].replace(_lodash["default"].trim(dateStr.split("(")[0]), /\//g, "") + _lodash["default"].padStart("1", 6, "0");
608
608
  });
609
609
  this.init();
610
610
  this.env = "dev";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.353",
3
+ "version": "1.0.354",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.11",
14
- "utiller": "^1.0.352",
14
+ "utiller": "^1.0.353",
15
15
  "linepayer": "^1.0.4",
16
16
  "databazer": "^1.0.12",
17
17
  "lodash": "^4.17.20",