srawlins / timezone

Time zone database and time zone aware DateTime object for Dart.
BSD 2-Clause "Simplified" License
102 stars 53 forks source link

Getting Different Location with Same location name in Debug Build and Release Build #128

Closed Akash9151 closed 2 years ago

Akash9151 commented 2 years ago

How I'm initializing the timezone database -

var byteData = await rootBundle.load('assets/2021a.tzf');
initializeDatabase(byteData.buffer.asUint8List());
  1. In Release Apk Build - photo_2022-01-27 20 40 46

  2. In Flutter run - photo_2022-01-27 20 42 00

Akash9151 commented 2 years ago

I tried changing the Input from America/New_York to Asia/Kolkata.