(diary-ordinal-suffix age)
(if (= b-date d) "" " (evening)")))))
+(defvar diary-hebrew-omer-sefirot
+ ["Hesed" "Gevurah" "Tiferet" "Netzach" "Hod" "Yesod" "Malchut"]
+ "The order of Sefirot for counting the Omer.
+See https://opensiddur.org/prayers/solilunar/solar-cycles/sefirat-haomer/the-order-of-counting-the-omer-in-the-spring/")
;;;###diary-autoload
(defun diary-hebrew-omer (&optional mark)
"Omer count diary entry.
(day (% omer 7)))
(if (and (> omer 0) (< omer 50))
(cons mark
- (format "Day %d%s of the omer (until sunset)"
+ (format "Day %d%s of the omer (until sunset) %s she'be'%s"
omer
(if (zerop week)
""
(if (zerop day)
""
(format " and %d day%s"
- day (if (= day 1) "" "s"))))))))))
+ day (if (= day 1) "" "s")))))
+ (aref diary-hebrew-omer-sefirot (% (+ 6 day) 7))
+ (aref diary-hebrew-omer-sefirot
+ (+ (if (zerop day) -1 0) week)))))))
(autoload 'diary-make-date "diary-lib")