@forcecalendar/interface 1.0.36 → 1.0.38
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/dist/force-calendar-interface.esm.js +2 -2
- package/dist/force-calendar-interface.esm.js.map +1 -1
- package/dist/force-calendar-interface.umd.js +2 -2
- package/dist/force-calendar-interface.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ForceCalendar.js +2 -1
- package/src/index.js +0 -6
|
@@ -2709,9 +2709,10 @@ class H extends k {
|
|
|
2709
2709
|
switch (t) {
|
|
2710
2710
|
case "month":
|
|
2711
2711
|
return g.formatDate(e, "month", r);
|
|
2712
|
-
case "week":
|
|
2712
|
+
case "week": {
|
|
2713
2713
|
const i = g.startOfWeek(e), s = g.endOfWeek(e);
|
|
2714
2714
|
return g.formatDateRange(i, s, r);
|
|
2715
|
+
}
|
|
2715
2716
|
case "day":
|
|
2716
2717
|
return g.formatDate(e, "long", r);
|
|
2717
2718
|
default:
|
|
@@ -2770,7 +2771,6 @@ class H extends k {
|
|
|
2770
2771
|
}
|
|
2771
2772
|
}
|
|
2772
2773
|
customElements.get("forcecal-main") || customElements.define("forcecal-main", H);
|
|
2773
|
-
typeof window < "u" && typeof customElements < "u" && console.log("Force Calendar Interface loading...");
|
|
2774
2774
|
export {
|
|
2775
2775
|
k as BaseComponent,
|
|
2776
2776
|
w as BaseViewRenderer,
|