hebcal / hebcal-js

⛔️ DEPRECATED - a perpetual Jewish Calendar (JavaScript)
GNU General Public License v3.0
123 stars 40 forks source link

apostrophe instead of geresh in numbers #61

Open sitase opened 5 years ago

sitase commented 5 years ago

In hebrew numerals, apostrophe is used instead of geresh (U+05F3). While they look similar, they behave different when it comes to bidi-handling. If you embed a hebrew date in a latin (ltr) context and it ends with an apostrophe, the apostrophe will jump from the left to the right of the date. (This would happen if you print a date w/o year for the months adar i and adar ii).

I assume quotes are used instead of gershayim, but it does not have the same implications.