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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bx-rest",
3
- "version": "0.25.0",
3
+ "version": "0.26.1",
4
4
  "description": "Bitrix24 REST API client and TypeScript SDK for Angular, Vue and browser apps",
5
5
  "keywords": [
6
6
  "bitrix",
@@ -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
  */