investira.sdk 2.3.9 → 2.3.10

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/CHANGELOG.md CHANGED
@@ -492,3 +492,7 @@ O contrutor para a criação das mensagem foi alterado.
492
492
  # 2.3.9
493
493
 
494
494
  - [dates] Correção da chamada as constantes
495
+
496
+ # 2.3.10
497
+
498
+ - [dates] Correção da função workingDaysInMonth
@@ -469,8 +469,8 @@ const dates = {
469
469
  * @returns {number}
470
470
  */
471
471
  workingDaysInMonth: pDate => {
472
- let xDate1 = dates.addDays(dates.startOf('month', dates.toUTCDate(pDate)), -1);
473
- let xDate2 = dates.endOf('month', dates.toUTCDate(pDate));
472
+ let xDate1 = dates.addDays(dates.startOf('month', pDate), -1);
473
+ let xDate2 = dates.endOf('month', pDate);
474
474
  return dates.workingDaysBetween(xDate1, xDate2);
475
475
  },
476
476
  /**
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "investira.sdk",
3
- "version": "2.3.9",
3
+ "version": "2.3.10",
4
4
  "author": "Investira",
5
5
  "description": "Investira SDK",
6
6
  "main": "index.js",
7
7
  "type": "commonjs",
8
8
  "registry": true,
9
- "raw": "investira.sdk@2.3.9",
9
+ "raw": "investira.sdk@2.3.10",
10
10
  "escapedName": "investira.sdk",
11
- "rawSpec": "2.3.9",
11
+ "rawSpec": "2.3.10",
12
12
  "saveSpec": null,
13
- "fetchSpec": "2.3.9",
13
+ "fetchSpec": "2.3.10",
14
14
  "homepage": "https://investira.com.br/",
15
15
  "engines": {
16
16
  "node": ">=11.11.0 <=18.12",