@hebcal/rest-api
    Preparing search index...

    Function getCalendarTitle

    • Generates a title like "Hebcal 2020 Israel" or "Hebcal May 1993 Providence"

      Parameters

      • events: Event[]

        the events in the calendar, used to determine the date range shown in the title

      • options: RestApiOptions

        controls location name, il/Diaspora, and whether this is a Yahrzeit calendar or a subscription (see RestApiEventOptions)

      Returns string

      the generated calendar title