Skip to content

Proposed Functions: isAveilut() and isFastDay() #617

@ethanpil

Description

@ethanpil

In the spirit of the function isAssurBemlacha() I would much appreciate the two additional functions isAveilut() and isFastDay() added to the HebCal api to help with automations. Some use cases I have in mind:

  • Autoplay A Capella music instead of regular music when isAveilut() returns True
  • Do not send daily menus when isFastDay() returns True

I would expect isAveilut() to return True for Sefirat HaOmer days, Bein HaMeitzarim days, etc.
I would expect isFastDay() to return True for 17 Tammuz, 9 Av, Yom Kippur, Tzom Gedalia, etc

Any thoughts on this proposal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions