hebcal / hebcal-js

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

Fix default Adar #6

Closed Scimonster closed 10 years ago

Scimonster commented 10 years ago

In the C code, a plain 'Adar' defaults to Adar Sheini. In the JS, it defaults to Rishon. The C checks if Adar2 was given during a non-leap year, and fixes to 1.

I think it's more useful to default to the second, as that's when Purim is.