sf-i-events 1.0.695 → 1.0.696
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 +1 -1
- package/sf-i-events.js +1 -1
- package/src/sf-i-events.ts +1 -1
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -2688,7 +2688,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2688
2688
|
let endDay = new Date(year, month, 1);
|
|
2689
2689
|
endDay === null || endDay === void 0 ? void 0 : endDay.setDate(endDay.getDate() + lastDay + 1);
|
|
2690
2690
|
var period = ("0" + (month + 1)).slice(-2) + "/" + ("0" + 1).slice(-2) + '/' + new Date().getFullYear() + ' - ' + ("0" + (month + 1)).slice(-2) + "/" + ("0" + lastDay).slice(-2) + '/' + new Date().getFullYear();
|
|
2691
|
-
return this.renderEvents(firstDay, endDay, 1, lastDay, showGraph, index, month, period, null,
|
|
2691
|
+
return this.renderEvents(firstDay, endDay, 1, lastDay, showGraph, index, month, period, null, this.monthNames[month] + " " + year);
|
|
2692
2692
|
};
|
|
2693
2693
|
this.renderThisEvents = (index, startDate, showGraph = true) => {
|
|
2694
2694
|
var firstDate = new Date();
|
package/src/sf-i-events.ts
CHANGED
|
@@ -4870,7 +4870,7 @@ export class SfIEvents extends LitElement {
|
|
|
4870
4870
|
endDay?.setDate(endDay.getDate() + lastDay + 1);
|
|
4871
4871
|
var period = ("0" + (month+1)).slice(-2) + "/" + ("0" + 1).slice(-2) + '/' + new Date().getFullYear() + ' - ' + ("0" + (month+1)).slice(-2) + "/" + ("0" + lastDay).slice(-2) + '/' + new Date().getFullYear()
|
|
4872
4872
|
|
|
4873
|
-
return this.renderEvents(firstDay, endDay, 1, lastDay, showGraph, index, month, period, null,
|
|
4873
|
+
return this.renderEvents(firstDay, endDay, 1, lastDay, showGraph, index, month, period, null, this.monthNames[month] + " " + year);
|
|
4874
4874
|
|
|
4875
4875
|
}
|
|
4876
4876
|
|