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] Wrong Next and Current Prayer Times #57

Open
md-rifatkhan opened this issue Feb 25, 2024 · 2 comments
Open

[Bug] Wrong Next and Current Prayer Times #57

md-rifatkhan opened this issue Feb 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@md-rifatkhan
Copy link

Always getting output

I/flutter (15669): Next Prayer Prayer.maghrib
I/flutter (15669): Current Prayer Prayer.asr

with

    Prayer nextPrayerTimes = prayerTimes.nextPrayer();
    print("Next Prayer $nextPrayerTimes");

    Prayer currentPrayer = prayerTimes.currentPrayer();
    print("Current Prayer $currentPrayer");
@md-rifatkhan md-rifatkhan added the bug Something isn't working label Feb 25, 2024
@iamriajul
Copy link
Owner

Please provide a reproduction.

@md-rifatkhan
Copy link
Author

@iamriajul Current prayer should be isha instead dhuhr:

I/flutter ( 2706): Current Prayer Prayer.dhuhr
I/flutter ( 2706): Current Prayer Time by DateFormat 11:58:00 AM
I/flutter ( 2706): Current Time 9:24:00 PM

with

    print("Current Prayer ${prayerTimes.currentPrayer()}");
    print("Current Prayer Time by DateFormat ${DateFormat.jms().format(prayerTimes.dhuhr)}");
    print("Current Time ${DateFormat.jms().format(DateTime.now())}");

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