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.
- package/bundles/ps-toolkit-ui.umd.js +3 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/helper.class.js +3 -2
- package/esm2015/lib/classes/request.class.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +3 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1513,7 +1513,8 @@
|
|
|
1513
1513
|
if (dt === null) {
|
|
1514
1514
|
return '';
|
|
1515
1515
|
}
|
|
1516
|
-
|
|
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
|
}
|