-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hebrew Calendar should include method to return date where Tishrei is 1 #36
Comments
Should be a relatively straight-forward addition |
Thanks!! Here is the mapping, which is different in Leap years:
|
Took me a second to figure out what this is. I think that the modulo operator ( |
Yes that will work too - just watch the leap years!
…-joe
Sent from my AT&T iPhone
On Oct 23, 2020, at 7:36 PM, Neil Freeman ***@***.***> wrote:
Took me a second to figure out what this is. I think that the modulo operator (%) is more useful for this kind of thing than hard-coding a dictionary.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
While this is easy to add mathematically, I'm going to spend a little more time figuring out the best way to handle it in a backward-compatible way in the existing function calls. I'll try to get it in the next release. |
How about: |
Yeah, that's probably the most straightforward way. There are several supporting functions, so the cleanest way to incorporate will probably involve some refactoring. In the meantime, the |
The first month of civil year is Tishrei, and that is also when the year changes, so please add another method to return that method of month counting (Tishrei=1). This is also consistent with the Jewish calendar in Excel.
Per Wikipedia:
The text was updated successfully, but these errors were encountered: