The issue is related to the calculation of Hijri date in Flutter app after the daylight saving time (DST) change. Specifically, the problem occurs in Helsinki (Finland), where the time difference between the standard time and DST is one hour Asr (Praying time). As a result, the Hijri date calculation for Helsinki is one hour ahead or behind, depending on the time of the year.
Code:
final params = CalculationMethod.muslim_world_league.getParameters();
params.madhab = Madhab.hanafi;
final prayerTimes = PrayerTimes.today(myCoordinates, params);
The issue is related to the calculation of Hijri date in Flutter app after the daylight saving time (DST) change. Specifically, the problem occurs in Helsinki (Finland), where the time difference between the standard time and DST is one hour Asr (Praying time). As a result, the Hijri date calculation for Helsinki is one hour ahead or behind, depending on the time of the year.
Code:
Demo: