Skip to content

Commit 9e4f362

Browse files
yohaybntsvi
andauthored
Update Jewish calendar omer counting service documentation (#38706)
Co-authored-by: Tsvi Mostovicz <ttmost@gmail.com>
1 parent 553ed1a commit 9e4f362

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

source/_integrations/jewish_calendar.markdown

+24-5
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,10 @@ The `jewish_calendar.count_omer` action returns the phrase for counting the Omer
151151

152152
| Data attribute | Optional | Description |
153153
| -------------- | -------- | ---------------------------------------- |
154-
| `date` | no | Date for which to get the Omer blessing. |
155-
| `nusach` | no | Nusach (tradition) of the Omer blessing. |
156-
| `language` | no | Language to return. Defaults to Hebrew. |
154+
| `date` | yes | Date for which to get the Omer blessing. Defaults to today. |
155+
| `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. |
156+
| `nusach` | no | Nusach (tradition) of the Omer blessing. |
157+
| `language` | yes | Language to return. Defaults to Hebrew. |
157158

158159
If there's no Omer count on the given day, the message will be empty.
159160
Supported nusachim are: Ashkenaz, Sfarad, Adot Mizrah and Italian.
@@ -164,8 +165,9 @@ Supported nusachim are: Ashkenaz, Sfarad, Adot Mizrah and Italian.
164165
action: jewish_calendar.count_omer
165166
data:
166167
nusach: sfarad
167-
language: en
168-
date: "2025-05-20"
168+
date: "2025-05-20" # optional; defaults to today
169+
language: en # optional; defaults to Hebrew
170+
after_sunset: true # optional; defaults to true
169171
```
170172
171173
Will return the following:
@@ -176,3 +178,20 @@ weeks: 5
176178
days: 2
177179
total_days: 37
178180
```
181+
182+
#### Minimal call
183+
184+
```yaml
185+
action: jewish_calendar.count_omer
186+
data:
187+
nusach: sfarad
188+
```
189+
190+
Will return the current text in Hebrew based on the Hebrew date, considering the current time relative to sunset.
191+
192+
```yaml
193+
message: היום ארבעה עשר יום שהם שני שבועות לעומר
194+
weeks: 2
195+
days: 0
196+
total_days: 14
197+
```

0 commit comments

Comments
 (0)