Skip to content

B4: Holiday names don't appear on core calendars; iCal feed gets only the current month #15

Open

Description

@caseysoftware
  • The module implements hook_calendar (used only for the iCal feed) but not hook_calendar_links, which the month/week views use. Core shades the day but shows no holiday name.
  • getCalendarLink(CAppUI $AppUI, $item): core calls getCalendarLink(null, $item), which is a TypeError with that signature. Make the parameter nullable or unused.
  • hook_calendar() picks its date range from $_GET['a'] / $_GET['date']. In the iCal feed those aren't the calendar's, so the feed gets only the current month.

Files: holiday.class.php L62–110

Evidence: found by reading the code against master; not reproduced on a running install.
Effort: S

Part of #1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions