ublo-lib 1.39.30 → 1.39.31

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.
@@ -12,9 +12,9 @@ export const getMonthDays = (month = Data.THIS_MONTH, year = Data.THIS_YEAR) =>
12
12
  : 31;
13
13
  };
14
14
  export const getMonthFirstDay = (month = Data.THIS_MONTH, year = Data.THIS_YEAR) => {
15
- const date = new Date(`${year}-${zeroPad(month, 2)}-01`).getDay();
15
+ const date = new Date(`${year}-${zeroPad(month, 2)}-01`);
16
16
  date.setHours(0, 0, 0, 0);
17
- return date;
17
+ return date.getDay();
18
18
  };
19
19
  export const weekToLongDate = (date) => {
20
20
  const _date = new Date(date);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.39.30",
3
+ "version": "1.39.31",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",