-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add Islamic holidays and Chinese New Year to holidays #24
Comments
Here is the code for Ramadan:
|
Here is the code for Chinese New Year:
|
Islamic holidays raise an issue because they can occur twice in a Gregorian year. Should the function return a list of date tuples, which isn't in line with the other functions, or return only one of the holidays, which is incomplete behavior? |
Name them -1 and -2? Not sure as I don’t celebrate them.
I wound up coding my own function for Ramadan and Chinese New Year. I skipped the rest.
…-joe
Sent from my AT&T iPhone
On May 15, 2020, at 9:35 PM, Neil Freeman ***@***.***> wrote:
Islamic holidays raise an issue because they can occur twice in a Gregorian year. Should the function return a list of date tuples, which isn't in line with the other functions, or return only one of the holidays, which is incomplete behavior?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi, have you got anywhere with this request? I think returning both Ramadan dates would be correct.
Another option could be to return the "next" date for beginning of Ramadan.
|
Enhancement request: Please add Islamic holidays and Chinese New Year to holidays module. Here is a list of them: https://icalendars.net/religion/islamism/
The text was updated successfully, but these errors were encountered: