Git Product home page Git Product logo

pray-times's People

Contributors

abodehq avatar

Stargazers

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

Watchers

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

pray-times's Issues

Objective C version doesn't get prayer times correctly

I have used Objective C version to get prayer times according to a certain location, date and timeZone using this method:
-(NSMutableArray_)getDatePrayerTimes:(int)year andMonth:(int)month andDay:(int)day andLatitude:(double)latitude andLongitude:(double)longitude andtimeZone:(double)tZone; as follows:
PrayTime * pt=[PrayTime new];
double timeZone=[pt getTimeZone];
NSMutableArray * prayerTimes=[pt getDatePrayerTimes:2014 andMonth:01 andDay:26 andLatitude:30.056610400000000000 andLongitude:31.330107600000020000 andtimeZone:timeZone];
NSLog(@"PrayerTimes");
for (NSString_ prayTime in prayerTimes) {
NSLog(@"%@",prayTime);
}
and the result was as follows:
2014-01-26 14:28:07.862 testing[1492:70b] PrayerTimes
2014-01-26 14:28:07.862 testing[1492:70b] 05:35
2014-01-26 14:28:07.863 testing[1492:70b] 06:48
2014-01-26 14:28:07.863 testing[1492:70b] 12:07
2014-01-26 14:28:07.864 testing[1492:70b] 15:06
2014-01-26 14:28:07.865 testing[1492:70b] 17:26
2014-01-26 14:28:07.865 testing[1492:70b] 17:42
2014-01-26 14:28:07.866 testing[1492:70b] 18:30
but this resultant prayer times isn't correct according to this page:
http://www.islamicfinder.org/cityPrayerNew.php?country=egypt&lang=arabic
also this page
http://www.egynews.net/wps/portal/prayertimes/today
the previous pages gets the prayer times for the same location, date and time zone , i don't know why this happens! is there's a bug in the method or certain something must be made to get the times correctly? thanks in advance

Incorrect prayer times when timezone omitted or added.

prayTimes.getTimes(
new Date(),
[latitude, longitude],
// 0,
// "auto",
// "24h"
)
or
prayTimes.getTimes(
new Date(),
[latitude, longitude],
5,
// "auto",
// "24h"
)
If I add 0 then the timings are closer to actual ones. like this
prayTimes.getTimes(
new Date(),
[latitude, longitude],
0,
// "auto",
// "24h"
)

Incorrect Fajr and ishaa Time for c#

Salam ,
i'm trying to use the C# code and the time is incorrect for Fajr and Ishaa , i try to get values like this ,
Correcte Values
the angle used here is 12° so i wanted to know how the change the angle in the code

Thank you .

ABOUT USAGE DETAILS

how can i use this in android mobile? may i only need to use java file and need to call methods

ABOUT USAGE DETAILS

how can i use this in android mobile? may i only need to use java file and need to call methods

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.