@bobfrankston/rmfmail 1.0.673 → 1.0.674

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.
@@ -3530,11 +3530,11 @@ function renderEvents(events) {
3530
3530
  }
3531
3531
  let lastDayKey = "";
3532
3532
  const nowMs = Date.now();
3533
- const recurHolidayCutoff = nowMs + HOLIDAY_RECUR_HORIZON_MS;
3533
+ const holidayCutoff = nowMs + HOLIDAY_HORIZON_MS;
3534
3534
  for (const e of events) {
3535
3535
  if (e.recurringEventId && dailyKeys.has(e.recurringEventId))
3536
3536
  continue;
3537
- if ((e.isHoliday || e.recurringEventId) && e.start > recurHolidayCutoff)
3537
+ if (e.isHoliday && e.start > holidayCutoff)
3538
3538
  continue;
3539
3539
  const d = new Date(e.start);
3540
3540
  const dayKey = `${d.getFullYear()}-${d.getMonth()}-${d.getDate()}`;
@@ -4035,7 +4035,7 @@ function initCalendarSidebar() {
4035
4035
  }
4036
4036
  }
4037
4037
  }
4038
- var SIDEBAR_PREF, SHOW_RECURRING_PREF, SHOW_DONE_PREF, HORIZON_DAYS_PREF, HORIZON_DEFAULT_DAYS, HOLIDAY_RECUR_HORIZON_MS, viewYear, viewMonth, viewDay, lastEvents, selectedTaskUuids;
4038
+ var SIDEBAR_PREF, SHOW_RECURRING_PREF, SHOW_DONE_PREF, HORIZON_DAYS_PREF, HORIZON_DEFAULT_DAYS, HOLIDAY_HORIZON_MS, viewYear, viewMonth, viewDay, lastEvents, selectedTaskUuids;
4039
4039
  var init_calendar_sidebar = __esm({
4040
4040
  "client/components/calendar-sidebar.js"() {
4041
4041
  "use strict";
@@ -4046,7 +4046,7 @@ var init_calendar_sidebar = __esm({
4046
4046
  SHOW_DONE_PREF = "mailx-task-show-done";
4047
4047
  HORIZON_DAYS_PREF = "mailx-cal-horizon-days";
4048
4048
  HORIZON_DEFAULT_DAYS = 30;
4049
- HOLIDAY_RECUR_HORIZON_MS = 14 * 864e5;
4049
+ HOLIDAY_HORIZON_MS = 14 * 864e5;
4050
4050
  viewYear = (/* @__PURE__ */ new Date()).getFullYear();
4051
4051
  viewMonth = (/* @__PURE__ */ new Date()).getMonth();
4052
4052
  viewDay = (/* @__PURE__ */ new Date()).getDate();