Closed
Description
From @moserc on February 26, 2018 17:25
Issue
Date() does not return correct Timezone Offset unless the app is restarted in the new Timezone.
Creating the Issue
When I am running a Nativescript app in my local timezone, Date() correctly returns:
Mon Feb 26 2018 11:54:27 GMT-0500 (EST)
If I change to CST timezone without restarting the app, Date() returns the correct Timezone but incorrect Timezone Offset:
Mon Feb 26 2018 11:55:45 GMT-0500 (CST)
If I shut down the app and restart it (without changing from CST timezone), Date() correctly returns:
Mon Feb 26 2018 11:00:15 GMT-0600 (CST)
Can you please help us?
More info
Platform: Android
CLI: 3.2.1
-C
Copied from original issue: NativeScript/NativeScript#5469