@hebcal/core 5.3.4 → 5.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v5.3.4 */
1
+ /*! @hebcal/core v5.3.6 */
2
2
  var hebcal = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -810,12 +810,17 @@ const shneiYamim = shnei + ' ' + yamim;
810
810
  const shavuot = 'שָׁבוּעוֹת';
811
811
  const yom = 'יוֹם';
812
812
  const yomEchad = yom + ' ' + ones[1];
813
+ const asar = 'עָשָׂר';
813
814
  function omerTodayIsHe(omerDay) {
814
815
  const ten = Math.floor(omerDay / 10);
815
816
  const one = omerDay % 10;
816
817
  let str = 'הַיּוֹם ';
817
- if (10 < omerDay && omerDay < 20) {
818
- str += ones[one] + ' עָשָׂר';
818
+ if (omerDay === 11) {
819
+ str += 'אַחַד ' + asar;
820
+ } else if (omerDay === 12) {
821
+ str += 'שְׁנֵים ' + asar;
822
+ } else if (12 < omerDay && omerDay < 20) {
823
+ str += ones[one] + ' ' + asar;
819
824
  } else if (omerDay > 9) {
820
825
  str += ones[one];
821
826
  if (one) {
@@ -11873,7 +11878,7 @@ class DailyLearning {
11873
11878
  }
11874
11879
 
11875
11880
  // DO NOT EDIT THIS AUTO-GENERATED FILE!
11876
- const version = '5.3.4';
11881
+ const version = '5.3.6';
11877
11882
 
11878
11883
  const NONE$1 = 0;
11879
11884
  const HALF = 1;