tnx-shared 5.3.275 → 5.3.276

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.
@@ -4724,7 +4724,7 @@
4724
4724
  };
4725
4725
  CommonService.prototype.getStartDayEndDayWeek = function (date) {
4726
4726
  if (date === void 0) { date = new Date(); }
4727
- var tmpDate = new Date(date.toLocaleDateString());
4727
+ var tmpDate = new Date(date.toDateString());
4728
4728
  var dateDiff = tmpDate.getDate() - tmpDate.getDay() + (tmpDate.getDay() == 0 ? -6 : 1);
4729
4729
  var startDate = new Date(tmpDate.setDate(dateDiff));
4730
4730
  var endDate = new Date(new Date(tmpDate.setDate(dateDiff + 6)));