@event-calendar/core 0.13.1 → 0.13.2

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/index.js CHANGED
@@ -204,7 +204,7 @@ function currentRange(state) {
204
204
  ([$date, $duration, $monthMode, $firstDay]) => {
205
205
  let start = cloneDate($date), end;
206
206
  if ($monthMode) {
207
- start.setDate(1);
207
+ start.setUTCDate(1);
208
208
  } else if ($duration.inWeeks) {
209
209
  // First day of week
210
210
  prevClosestDay(start, $firstDay);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@event-calendar/core",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "title": "Event Calendar Core package",
5
5
  "description": "Full-sized drag & drop event calendar with resource view",
6
6
  "keywords": [
@@ -34,7 +34,7 @@
34
34
  "./package.json": "./package.json"
35
35
  },
36
36
  "dependencies": {
37
- "@event-calendar/common": "~0.13.1",
37
+ "@event-calendar/common": "~0.13.2",
38
38
  "svelte": "^3.51.0"
39
39
  }
40
40
  }
@@ -65,7 +65,7 @@ export function currentRange(state) {
65
65
  ([$date, $duration, $monthMode, $firstDay]) => {
66
66
  let start = cloneDate($date), end;
67
67
  if ($monthMode) {
68
- start.setDate(1);
68
+ start.setUTCDate(1);
69
69
  } else if ($duration.inWeeks) {
70
70
  // First day of week
71
71
  prevClosestDay(start, $firstDay);