Skip to content
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 Algeria calculation method #46

Closed
thehungrycoder opened this issue Aug 20, 2023 · 4 comments
Closed

Add Algeria calculation method #46

thehungrycoder opened this issue Aug 20, 2023 · 4 comments
Assignees

Comments

@thehungrycoder
Copy link
Contributor

From Bard:

The Algerian Ministry of Religious Affairs uses the Algerian calculation method for determining the times of Islamic prayer. This method is based on the angle of the sun below the horizon at sunrise and sunset. The angle of the sun is calculated using the latitude and longitude of the location.

The Algerian calculation method is similar to the calculation methods used by other Muslim-majority countries in the region, such as Morocco, Tunisia, and Libya. However, there are some minor differences in the way that the angles are calculated.

The Algerian calculation method is considered to be a reliable method for determining the times of Islamic prayer. However, it is important to note that the times of prayer can vary slightly depending on the location and the time of year.

Here are some of the other calculation methods that are used for determining the times of Islamic prayer:

The Muslim World League (MWL) method
The Egyptian General Authority of Survey (EGAS) method
The University of Islamic Sciences, Karachi (UIU) method
The Umm al-Qura University (UQU) method
The Islamic Society of North America (ISNA) method

The choice of calculation method is a matter of personal preference. There is no one method that is considered to be the most correct. Algerian Muslims are free to choose the method that they believe is best for them.

Add this new method in configs and in API

@Ashraf-Ali-aa
Copy link
Contributor

Ashraf-Ali-aa commented Aug 20, 2023

@thehungrycoder it's already been implemented https://github.com/prayersconnect/configs/blob/main/src/adhan/calculation-methods.ts#L27 , I am currently trying to implement the new changes into the mobile app but I have forgotten to expose the typescript types in the PR , so I'll resolve this after I getting it successfully working with one of the other repos

@Ashraf-Ali-aa
Copy link
Contributor

already implemented, closing issue

@thehungrycoder
Copy link
Contributor Author

Nice. Is it available in both versions of implementation?

@Ashraf-Ali-aa
Copy link
Contributor

Updated on #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants