@forcecalendar/core 2.1.18 → 2.1.20
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/README.md +9 -0
- package/core/events/RecurrenceEngine.js +1 -2
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# @forcecalendar/core
|
|
2
|
+
|
|
3
|
+
[](https://github.com/forceCalendar/core/actions/workflows/test.yml)
|
|
4
|
+
[](https://github.com/forceCalendar/core/actions/workflows/code-quality.yml)
|
|
5
|
+
[](https://www.npmjs.com/package/@forcecalendar/core)
|
|
6
|
+
[](https://www.npmjs.com/package/@forcecalendar/core)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
|
|
9
|
+
A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce.
|
|
@@ -39,8 +39,7 @@ export class RecurrenceEngine {
|
|
|
39
39
|
// Track DST transitions for proper timezone handling
|
|
40
40
|
let lastOffset = tzManager.getTimezoneOffset(currentDate, eventTimezone);
|
|
41
41
|
|
|
42
|
-
// Track
|
|
43
|
-
const lastDateTimestamp = null;
|
|
42
|
+
// Track stuck iterations to detect infinite loop (date not advancing)
|
|
44
43
|
let stuckCount = 0;
|
|
45
44
|
const maxStuckIterations = 3;
|
|
46
45
|
|