bx-rest 0.25.0 → 0.26.1
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/README.en.md +1 -1
- package/README.md +1 -1
- package/esm2022/services/base.mjs +7 -12
- package/esm2022/services/http/http.mjs +2 -3
- package/fesm2022/bx-rest.mjs +17 -24
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/package.json +1 -1
- package/services/base.d.ts +4 -0
package/package.json
CHANGED
package/services/base.d.ts
CHANGED
|
@@ -49,6 +49,10 @@ export declare function toDate(val: number | string | Date, format?: string, opt
|
|
|
49
49
|
/**
|
|
50
50
|
* Преобразует дату в строку с учетом временной зоны
|
|
51
51
|
*
|
|
52
|
+
* Форматирование делегировано toLocalAtom() — раньше здесь была вторая,
|
|
53
|
+
* независимая копия той же формулы (paddind + смещение таймзоны), которая
|
|
54
|
+
* могла разойтись с toLocalAtom() при правке одной из них и не другой.
|
|
55
|
+
*
|
|
52
56
|
* @param date
|
|
53
57
|
* @param throwError
|
|
54
58
|
*/
|