Skip to content

Update Jewish calendar omer counting service documentation #38706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 30, 2025
29 changes: 24 additions & 5 deletions source/_integrations/jewish_calendar.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ The `jewish_calendar.count_omer` action returns the phrase for counting the Omer

| Data attribute | Optional | Description |
| -------------- | -------- | ---------------------------------------- |
| `date` | no | Date for which to get the Omer blessing. |
| `nusach` | no | Nusach (tradition) of the Omer blessing. |
| `language` | no | Language to return. Defaults to Hebrew. |
| `date` | yes | Date for which to get the Omer blessing. Defaults to today. |
| `after_sunset` | yes | If true and a date is provided, calculates the Omer count based on the Hebrew date, which starts after sunset. Ignored if no date is specified. Defaults to true. |
| `nusach` | no | Nusach (tradition) of the Omer blessing. |
| `language` | yes | Language to return. Defaults to Hebrew. |

If there's no Omer count on the given day, the message will be empty.
Supported nusachim are: Ashkenaz, Sfarad, Adot Mizrah and Italian.
Expand All @@ -163,8 +164,9 @@ Supported nusachim are: Ashkenaz, Sfarad, Adot Mizrah and Italian.
action: jewish_calendar.count_omer
data:
nusach: sfarad
language: en
date: "2025-05-20"
date: "2025-05-20" # optional; defaults to today
language: en # optional; defaults to Hebrew
after_sunset: true # optional; defaults to true
```

Will return the following:
Expand All @@ -175,3 +177,20 @@ weeks: 5
days: 2
total_days: 37
```

#### Minimal call

```yaml
action: jewish_calendar.count_omer
data:
nusach: sfarad
```

Will return the current text in Hebrew based on the Hebrew date, considering the current time relative to sunset.

```yaml
message: היום ארבעה עשר יום שהם שני שבועות לעומר
weeks: 2
days: 0
total_days: 14
```