Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #26

Closed
15tariqj opened this issue Apr 26, 2021 · 1 comment
Closed

[Bug] #26

15tariqj opened this issue Apr 26, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@15tariqj
Copy link

Describe the bug
Prayer times with the Muslim World League parameters appear to be incorrect.

To Reproduce
Steps to reproduce the behavior:
Create a PrayerTimes object with coordinates (51.5074, 0.1278) [The coordinates of London] and DateComponents(2021, 5, 26), and the Muslim World League parameters, like so:
PrayerTimes( Coordinates(51.5074, 0.1278), DateComponents(2021, 5, 26), CalculationMethod.muslim_world_league.getParameters(), )
Then print out the DateTime objects for Fajr and Isha, and you'll end up with the following:
flutter: 2021-05-26 00:57:00.000 flutter: 2021-05-27 00:31:00.000

Expected behavior
These prayer times are incorrect, and according to IslamicFinder.org with the same coordinates and calculation method, the following should be output instead:
Screenshot 2021-04-26 at 14 09 26

Environment(please complete the following information):

  • Dart Language Version: 2.12.0
  • Flutter Version: 2.0.1
  • Adhan-Dart Version: 1.1.15

Perhaps there is a way to alleviate this issue/a setting that I have not been using, in which case I apologise. Jazakallah for developing this package and may Allah reward you!

@15tariqj 15tariqj added the bug Something isn't working label Apr 26, 2021
@15tariqj
Copy link
Author

Apologies! This appears to be resolved by setting a HighLatitudeRule of twighlight_angle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant