ps-toolkit-ui 1.11.30 → 1.11.31

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.
@@ -1084,8 +1084,8 @@
1084
1084
  HelperClass.getNow = function () {
1085
1085
  return moment.now();
1086
1086
  };
1087
- HelperClass.getDateAdd = function (amount, unit) {
1088
- return HelperClass.getMoment().add(amount, unit).unix() * 1000;
1087
+ HelperClass.getInputDate = function (amount, unit) {
1088
+ return HelperClass.getMoment().add(amount, unit).locale('en').format('YYYY/MM/DD');
1089
1089
  };
1090
1090
  HelperClass.getMoment = function (i, f) {
1091
1091
  if (i === void 0) { i = null; }