utiller 1.0.145 → 1.0.146
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
|
@@ -1344,6 +1344,11 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
1344
1344
|
value: function getTodayTimeFormat(ts) {
|
|
1345
1345
|
return (0, _moment["default"])(ts ? ts : undefined).format("YYYY-MM-DD");
|
|
1346
1346
|
}
|
|
1347
|
+
}, {
|
|
1348
|
+
key: "getECPayCurrentTimeFormat",
|
|
1349
|
+
value: function getECPayCurrentTimeFormat(ts) {
|
|
1350
|
+
return (0, _moment["default"])(ts ? ts : undefined).format("YYYY/MM/DD HH:mm:ss");
|
|
1351
|
+
}
|
|
1347
1352
|
/** 取得 YYY-MM-DD-HH-mm-ss */
|
|
1348
1353
|
|
|
1349
1354
|
}, {
|
package/package.json
CHANGED