[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: itl library PrayerTimes



On Thu, Oct 04, 2007 at 01:48:05AM +0200, Ahmed Toulan wrote:
>  Hi Everyone,
>  I am trying to create a GUI for the prayer times library. So I got the
>  code from SVN and tried it out using the demo_prayer.c program. Here
>  is the information I entered for Cairo,Egypt.
>  //////////////////
>  /* fill the Date structure */
>  date.day = 4;
>  date.month = 10;
>  date.year = 2007;
>  /* fill the location info. structure */
>  loc.degreeLat = 30.05;
>  loc.degreeLong = 31.25;
>  //////////////////
>  And I got this output:
>  4:20:42 5:49:41 11:43:50 15:06:22 17:37:32 18:57:40
>  While I got this from [1]www.ahram.org.eg website
>  4:23 5:50 11:44 3:06 5:37 6:54
>  I noticed (over several days) that there is always 2-3 minutes
>  difference in Fajr and Ishaa, between the 2 readings.
>  What I want to know if this is acceptable or if it's a bug in the
>  library?
>  Note: They are both using the "Egyptian General Authority of Survey"
>  method

I don't trust ahram.org.eg but seems you are right. Both are not similar
which makes me wonder...

http://www.islamicfinder.org/prayerDetail.php?country=egypt&city=Cairo&email=&lang=arabic&start=0&home=2007-10-4&aversion=&athan=


I'm not the one who coded the library or the one maintaining it. Will try to do some
debugging but no promise.

P.S A systray applet already exists. 2 actually:
http://cvs.arabeyes.org/viewcvs/projects/itl/programs/

-- 
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F  280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org

Attachment: signature.asc
Description: Digital signature