ps-toolkit-ui 1.11.23 → 1.11.25

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,6 +1084,9 @@
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;
1089
+ };
1087
1090
  HelperClass.getMoment = function (i, f) {
1088
1091
  if (i === void 0) { i = null; }
1089
1092
  if (f === void 0) { f = null; }