Comments (16)
It seems the issue has been long around. see these links:
batoulapps/adhan-swift#62
achaudhry/adhan#2 (comment)
from adhan-js.
I tried adding the rules a, b and c from https://kurul.diyanet.gov.tr/Karar-Mutalaa-Cevap/4093/45-enlemin-otesinde-namaz-vakitleri
for rule c, I assumed its only for latitudes over 45, and used this:
Fajr = Sunrise - (Isha - Maghreb) - (10 minutes if inside march till September)
for latitudes over 62, I ignored the number and used 62 (rule d)
though one strange thing I noticed is that it seems they didn't take into account the -62 < and < -45 latitudes (not sure if this is even correct, but worth mentioning)
even though I got closer to the times on Diyanet on locations other than turkey, there were still 3-10 minutes difference between the new times and the times on Diyanet website
some places that had different Isha times benefitted from setting Isha angle to 16.2, but couldn't find why it would on some cases and not on others
this is as far as I could get to getting close to the Diyanet website
from adhan-js.
@sami155 please send screenshot of your calculation settings (with advanced section visible)
also the slowness is because of Geonames website, I'm working on alternatives as we speak :)
Oh sorry I forgot to attach the settings screenshot.
from adhan-js.
Using an online api is not an option for me, it has to be completely offline
adhan js has to update the method, which seems unlikely as maintainers seem to be inactive/busy with other things at the moment
I'll look into implementing it if there's no activity in a month or so on adhan js
from adhan-js.
well it seems diyanet website itself does not use rules a b c (for frankfurt at least, that I'm checking),
so I'm removing the rules again.
from adhan-js.
I have noticed this as well. In the Philadelphia, USA area the Isha time is off by about 9 minutes in May/June.
I notice that the Turkey calculation method uses manual adjustments, and Isha doesn't have a manual adjustment.
from adhan-js.
@sami155 please take screenshots from your calculation settings page with advanced section open (to see what are your calculation settings)
because for me there is only 1 minute difference on Diyanet tmethod (which is probably rounding) (checked on here)
from adhan-js.
@sami155 please take screenshots from your calculation settings page with advanced section open (to see what are your calculation settings)
because for me there is only 1 minute difference on Diyanet tmethod (which is probably rounding) (checked on here)
The settings are unchanged.
For Istanbul the times are, as you said, right with only minor differences in time.
But for German cities (e.g Berlin, Frankfurt, Munich) the differences are huge.
Especially on Fajr, and Isha
Ok, the difference is big, but a few days ago (the time that I posted the issue, the difference was massive) It is pretty unreliable rn.
(Btw, the search for changing my location is incredibly slow in the newest beta version. It takes 2-5 minutes for the Cities to pop up)
from adhan-js.
@sami155 please send screenshot of your calculation settings (with advanced section visible)
also the slowness is because of Geonames website, I'm working on alternatives as we speak :)
from adhan-js.
It seems the issue has been long around. see these links:
batoulapps/adhan-swift#62
achaudhry/adhan#2 (comment)
Hmmm. Ok that is not good. What can we do about it? Maybe we could try to contact the "devs" behind the Dinanet website?
For now idk what I will be doing. Maybe I will be using another calculaton method whose times are most similar to Dianet and reliable....
from adhan-js.
Can you ask here to see what method and angle they exactly use? https://www.iisev.de/wissensportal/artikel/die-zeit-des-morgengebets-und-des-imsks-in-deutschland/
their times match diyanet times, and they say they use angle 13 but it doesn't give correct results
from adhan-js.
this is the info I have found so far, thanks to the info and link @meezaan has given me on discord: https://web.archive.org/web/20201127204050/https://fetva.diyanet.gov.tr/Cevap-Ara/4093/45--enlemin-otesinde-namaz-vakitleri?enc=QisAbR4bAkZg1HImMxXRn2t8ij%2beDtMkJdRGirgyeb8%3d
a) 45. Enlemin ötesinde Yatsı namazı vaktinin sona ermesiken 31.05.2007 tarih ve 48 sayılı Din İşleri Yüksek Kurulu kararında giderek şer'î gecenin(Güneşin batışı ile fecri sadık arasındaki sürenin) üçüncü biri ile yatsı vadesinin belirlenmeye devam edecek oybirliği ile, ancak;
b) 45. Enlemden sonra, Şer'î gecenin üçüncü büyük 1 saat 20 dakikadan sonraya kaldı geldikleri ve yaşadıkları yatsı namazı vaktinin başlangıcının akşam namazı vaktinden itibaren 1 saat 20 dakikayı geçmeyecek şekilde kabul alacağı oy çokluğu ile,
c) İmsak vaktinin, Mart-Eylül ayları arasında zaruret ve ihtiyaca binaen günün (a ve b bileşenlerinin artması) takdir edilmiş akşam-yatsı aralığına derece farkı gözlemler 10 dakika eklenerek bu sürenin çoğul doğuş saatinden çıkarılmak suretiyle takdirle belirlenmesine, takdire geçişin de tedrici olarak sağlanmasına oy birliği ile,
d) 62. Enlemin eşiği 62. Enlemin vakitlerinin kullanılmasına oy birliği ile,
e) İlmi yeterliliği bulunan şahıs ve kurulların bu alanlar için farklı değerlendirme yöntemleri kullanılarak farklı vakitler belirlemeleriyle, buna göre ibadetlerinin yanlış ve hatalı görülmeyeceğine oy birliği ile,
karar verdi.
from adhan-js.
This information seems like it is enough to make modifications to the calculations when method is "Turkey" and the longitude criteria is met.
from adhan-js.
2006 Decisions: https://web.archive.org/web/20100328013804/http://www.diyanet.gov.tr/turkish/dy/KurulDetay.aspx?ID=1160
2007 Amendment: https://kurul.diyanet.gov.tr/Karar-Mutalaa-Cevap/3882/namaz-vakitlerinin-olusmadigi-bolgeler-ile-yatsi-namazi-vaktinin-gec-olustugu-bolgelerde-namaz-vakitlerinin-tespiti
2009 Clarification: https://kurul.diyanet.gov.tr/Karar-Mutalaa-Cevap/4093/45-enlemin-otesinde-namaz-vakitleri
from adhan-js.
So finally I found the official API from Diyanet. Idk why it took so long to find it:
https://github.com/DinIsleriYuksekKurulu/AwqatSalah
And here is the website for it: https://awqatsalah.diyanet.gov.tr/index.html
I hope you can integrate the API into the project
Apparently (if i understood it correctly) the API has a limit of 5 requests for public users, and 100 if you register.
Because on how limited this is, a solution could maybe be, to ask the dev directly.
from adhan-js.
someone sent me this via pdf via email, may be useful:
DİYANET İŞLERİ BAKANLIĞI AVRUPA TAKVİMLERİNDEKİ İMSAK VE YATSI VAKİTLERİNE İLİŞKİN AÇIKLAMA.pdf
it seems the content of the pdf can be found online here: https://www.ditiblyon.fr/avrupa-takvimlerindeki-imsak-yatsi-vakitlerine-iliskin-aciklama/
edit: the link in previous comment seems to be more useful than this
from adhan-js.
Related Issues (20)
- Altitude Support HOT 1
- Prayer Ending Times HOT 1
- Understanding the functionality of nextPrayer and currentPrayer HOT 2
- Moon Phases?
- Wrong time returned HOT 1
- [suggestion]: Use `const enums` for some constant variables
- time difference for asr on Turkey HOT 1
- The use of Temporal HOT 2
- [suggestion]: Add 'Imsak' Timings HOT 4
- Host the javascript on cdnjs or similar HOT 1
- Turkish Diyanet times for Netherlands gives wrong for yatsi time
- Reason for using sth like moment.js HOT 2
- Taking elevation into account for prayer times HOT 1
- Considering elevation for Salah times HOT 21
- TypeError: Cannot read properties of undefined (reading 'getTime') HOT 1
- add adjustment settings to sunset HOT 6
- The possibility of adjusting the midnight time HOT 1
- Calculation is returning prayer times for next day instead of "today" HOT 3
- Getting Default Calculation Method for Location
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adhan-js.