ps-toolkit-ui 0.0.64 → 0.0.68

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.
@@ -989,8 +989,16 @@
989
989
  return moment.now();
990
990
  };
991
991
  HelperClass.getMoment = function (i, f) {
992
+ if (i === void 0) { i = null; }
993
+ if (f === void 0) { f = null; }
994
+ if (i == null) {
995
+ return moment__namespace();
996
+ }
992
997
  return moment__namespace(i, f);
993
998
  };
999
+ HelperClass.getMomentAdd = function (a, s) {
1000
+ return moment__namespace().add(-1, 'month');
1001
+ };
994
1002
  HelperClass.getDateRemain = function (l, dt) {
995
1003
  var d = parseInt(dt.substring(6, dt.length - 2), 10);
996
1004
  var now = moment.now();