Closed faisalmushtaq007 closed 2 years ago
I was able to use deprecated locations by importing 'package:timezone/data/latest_all.dart'
instead of 'package:timezone/data/latest.dart'
.
This happens only in emulators due to the wrong region set in the time-zone setting.
To fix it:- Go to emulator Settings > System > Date and time. Here you have to turn off 'Use network-provided time zone'. And after that click the 'Time zone' option and set the region manually inside it. In this case, you should set it to India.
Sorry for the late reply. Using latest_all database should solve this issue.
Asia/Calcutta has been tagged as obselete and has to be changed to Asia/Kolkata. Update as soon as possible