Open musa11971 opened 3 years ago
Amsterdam is at a very high latitude and generally that would mean you should implement the highLatitudeRule
parameter. However even trying those options I'm not finding an exact match with the Diyanet times. I will continue to look into this further.
Looks like params.highLatitudeRule = .seventhOfTheNight
gives the best results. But fajr and ishaa are still hours off. They are however no longer the same value (like they were without the highLatitudeRule).
@musa11971 a change was recently made in the develop branch that will try and apply a highLatitudeRule based off of the supplied coordinates if one is not manually specified. So that should the incorrect times. But to match what Diyanet has we need to figure out what they're doing for high latitudes, which seems to be a different approach.
I don't speak Turkish myself, so I mailed the Dutch Diyanet branch on monday to see if they have more information on how they calculate the times. Hopefully they can help.
What I also noticed is that Muslim pro, when set to Diyanet, also fails to get the correct times:
Muslim Pro:
Diyanet official:
So yeah, seems like they face the same challenge :)
I have a similar issue, but we use the French calculation (Union des Organisations Islamiques de France) based on 12 degrees in the Netherlands, but the times are off only around summertime. Islamic Finder has the correct time for fajr and isha based on the french calculation method which is in accordance with eye-sighting. Any ideas?
Prayer times on July 13th 2021
Adhan-Java | Islamic Finder Fajr | 03:39 ❌ | 04:13 ✅ Isha | 23:50 ❌ | 23:16 ✅I posted the explanation here from Diyanet's website regarding how they determine isha and fajr: https://github.com/achaudhry/adhan/issues/2#issuecomment-1111585970
I have the same issue .
let coordinates = Coordinates(latitude: 40.8809, longitude: 29.2577)
+1, the Diyanet inaccuracies are still off by a few minutes. Let's explore how to better calculate times based on the official Turkish method.
any update on this?
So I'm not sure what's causing this strange issue, but the times for fajr and isha seem to be incorrect when using Diyanet İşleri Başkanlığı ("Turkey" method) from Amsterdam.
Consider the following example:
This produces incorrect times. Below I have put them next to the correct times (according to diyanet.gov.tr):
This seems very odd to me, because the values for fajr and isha are identical, and they are also both far off from the correct time.
This issue may be related/useful.