@forcecalendar/core 2.1.33 → 2.1.35

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.
@@ -232,7 +232,7 @@ export class ICSParser {
232
232
  for (const reminder of event.reminders) {
233
233
  lines.push('BEGIN:VALARM');
234
234
  lines.push('ACTION:DISPLAY');
235
- lines.push(`TRIGGER:-PT${reminder.minutes || 15}M`);
235
+ lines.push(`TRIGGER:-PT${reminder.minutesBefore || 15}M`);
236
236
  lines.push(`DESCRIPTION:${event.title || 'Reminder'}`);
237
237
  lines.push('END:VALARM');
238
238
  }
@@ -366,10 +366,10 @@ export class TimezoneManager {
366
366
  // Check abbreviations
367
367
  const upperTz = tzString.toUpperCase();
368
368
  if (
369
- this.database.abbreviations &&
370
- Object.prototype.hasOwnProperty.call(this.database.abbreviations, upperTz)
369
+ this.database.aliases &&
370
+ Object.prototype.hasOwnProperty.call(this.database.aliases, upperTz)
371
371
  ) {
372
- return this.database.abbreviations[upperTz];
372
+ return this.database.aliases[upperTz];
373
373
  }
374
374
 
375
375
  // Try to parse offset format (e.g., "+05:30", "-08:00")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forcecalendar/core",
3
- "version": "2.1.33",
3
+ "version": "2.1.35",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce",