ps-toolkit-ui 1.16.93 → 1.16.95

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.
@@ -1513,7 +1513,8 @@
1513
1513
  if (dt === null) {
1514
1514
  return '';
1515
1515
  }
1516
- return (dt.Hours > 9 ? dt.Hours : "0" + dt.Hours) + ":" + (dt.Minutes > 9 ? dt.Minutes : "0" + dt.Minutes);
1516
+ var hours = (dt.Days * 24) + dt.Hours;
1517
+ return (hours > 9 ? hours : "0" + hours) + ":" + (dt.Minutes > 9 ? dt.Minutes : "0" + dt.Minutes);
1517
1518
  }
1518
1519
  catch (e) {
1519
1520
  return dt;
@@ -2124,7 +2125,7 @@
2124
2125
  method: exports.Method[method].toString(),
2125
2126
  dataType: 'json',
2126
2127
  contentType: 'application/json; charset=utf-8',
2127
- data: data !== null && data !== {} ? JSON.stringify(data) : null,
2128
+ data: data !== null && data !== {} ? JSON.stringify(data, null, 2) : null,
2128
2129
  headers: token == null ? {} : { Authorization: token, Accept: 'application/json' }
2129
2130
  };
2130
2131
  }