ps-toolkit-ui 1.5.91 → 1.5.94

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.
@@ -3627,8 +3627,9 @@
3627
3627
  }
3628
3628
  FormDateComponent.prototype.ngOnInit = function () {
3629
3629
  var _this = this;
3630
- moment.locale('fa');
3631
- var today = moment__namespace();
3630
+ // moment.locale('fa');
3631
+ moment.useJalaliSystemPrimarily();
3632
+ var today = moment__namespace().locale('fa');
3632
3633
  this.todayDay = parseInt(today.format('jDD'), 10);
3633
3634
  this.todayMonth = parseInt(today.format('jMM'), 10);
3634
3635
  this.todayYear = parseInt(today.format('jYYYY'), 10);