iamriajul / adhan-dart

Adhan for Dart / Muslim Prayer Times Library. Now retrieving Prayer time in Dart easier than ever.
https://pub.dev/packages/adhan
MIT License
86 stars 41 forks source link

How to get offset of a country. because when we pass offset it give correct time for manual lat lng. if we did not pass offset for manual lat lng it give wrong timings. also clarify that offset is necessary for manual location. #30

Closed HamadBangash353 closed 2 years ago

HamadBangash353 commented 3 years ago

Please follow the general troubleshooting steps first:

Question related to which version: [eg: v1, v2, common]

Description

[Describe the question and your situation]

iamriajul commented 3 years ago

You can try to use the official timezone library: https://pub.dev/packages/timezone

iamriajul commented 3 years ago

Other useful resources related to the question: https://stackoverflow.com/questions/16086962/how-to-get-a-time-zone-from-a-location-using-latitude-and-longitude-coordinates