GithubHelp home page GithubHelp logo

prayersconnect / configs Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 359 KB

Country specific configuration for Prayers Connect

License: GNU General Public License v3.0

TypeScript 99.85% Shell 0.06% JavaScript 0.09%
hacktoberfest

configs's People

Contributors

ashraf-ali-aa avatar dependabot[bot] avatar imran99744 avatar sajjathossain avatar thehungrycoder avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

roquib izayed9

configs's Issues

Start of weekday

Currently, we always show Monday as start of weekday. While this is true for most countries, that's not the case for all countries. So in our country config, add a new property like startOfWeekday.

Also it defaults to monday. Only non-mondays should be overriden.

Use Google bard to get overrides.

Here is summary from Bard

Monday: 160 countries
Sunday: 67 countries
Saturday: 12 countries
Friday: 5 countries
Other days: Very few countries

Once this is done, create a tickets in web & mobile to apply this and use this config to start week in prayer time's week view like
Screenshot 2023-11-27 at 5 54 39 PM

Add Algeria calculation method

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

Update configs repo's workflow

We need to update our configs repo's workflow to fix the version mismatch between the Yarn version defined in our project's package.json and the Yarn version installed globally in our CI/CD environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.