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

Wrong time when changing the time zone from the settings #112

Open
Mahmoood opened this issue Mar 11, 2019 · 1 comment
Open

Wrong time when changing the time zone from the settings #112

Mahmoood opened this issue Mar 11, 2019 · 1 comment

Comments

@Mahmoood
Copy link

Mahmoood commented Mar 11, 2019

Open settings screen then navigate to 'Date & Time' and change the time zone only.
The library reports an incorrect time after changing the time zone!

@saikat-bbil
Copy link

saikat-bbil commented Mar 20, 2019

Get Timezone from settings. And Subtract TImexone from Time.
After that, add your expected Timezone with Time

e.g.

  1. String Time = Libraries Time.
  2. String TimeWithoutTimezone = Time - SettingsTimezone.
  3. String ExactTime = TimeWithoutTimezone + ExpectedTimezone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants