Skip to content

Cannot translate the parsha from the new API #220

@hersheytabakllc

Description

@hersheytabakllc

There is no way to translate the parsha returned from getUpcomingParshah API.
formatParsha uses internally the old getParsha API what returns JewishCalendar.Parsha.NONE if the date is a weekday or if there is no parsha that week (for example Yom Tov that falls on a Shabbos).
The problematic code can be seen at line 1056 of the formatter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions