utiller 1.0.234 → 1.0.235
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
|
@@ -1406,8 +1406,8 @@ var Utiller = /*#__PURE__*/function () {
|
|
|
1406
1406
|
return (0, _moment["default"])(ts ? ts : this.getCurrentTimeStamp()).format("YYYY-MM-DD");
|
|
1407
1407
|
}
|
|
1408
1408
|
}, {
|
|
1409
|
-
key: "
|
|
1410
|
-
value: function
|
|
1409
|
+
key: "getCustomFormatOfDatePresent",
|
|
1410
|
+
value: function getCustomFormatOfDatePresent(ts) {
|
|
1411
1411
|
var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "YY/MM";
|
|
1412
1412
|
return (0, _moment["default"])(ts ? ts : this.getCurrentTimeStamp()).format(format);
|
|
1413
1413
|
}
|
package/package.json
CHANGED