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

Adhan package Return wrong time on different timezone #53

Closed
ariona opened this issue Dec 18, 2023 · 2 comments
Closed

Adhan package Return wrong time on different timezone #53

ariona opened this issue Dec 18, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ariona
Copy link

ariona commented Dec 18, 2023

Describe the bug
Adhan package return wrong prayer times, it added two hour to real time/other prayer time app.

To Reproduce
Steps to reproduce the behavior:

  1. Set Coordinate to: -6.2297419, 106.7594778
  2. Set Date Time on device to Indonesia, Time Zone Jayapura (GMT+09:00)
  3. Set params to
CalculationParameters(
    madhab: Madhab.shafi,
    fajrAngle: 20,
    ishaAngle: 18,
    highLatitudeRule: HighLatitudeRule.twilight_angle,
)
  1. get prayer times using PrayerTimes class
  2. prayer times return +2 hours

Screenshots
Here is the screenshot from my app
Screenshot 2023-12-18 at 14 57 31

And here is screenshot of prayer times of same city on online prayer time
Screenshot 2023-12-18 at 14 58 09

You can see that this package return +2 hours to the desired time

Environment(please complete the following information):

  • Dart Language Version: 3.1.3
  • Flutter Version: 3.13.6,
  • Adhan-Dart Version: 2.0.0+1
@ariona ariona added the bug Something isn't working label Dec 18, 2023
@ariona ariona closed this as completed Dec 23, 2023
@iamriajul
Copy link
Owner

@ariona how did you solve your issue?

@ariona
Copy link
Author

ariona commented Dec 24, 2023 via email

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

2 participants