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
TimeZone.getTimeZone(null) returns null #2610
Comments
Issue still exists with AIR 51.0.0.2 for Windows. May be some locale-specific comparison under the hood... |
This is one of those "works for us" things.... For that scenario to return a null timezone on Windows, then either:
Ah .. so, re-reading the documentation for it, maybe the function would return false if you are in a locale that does not support 'dynamic' time zones i.e. daylight saving. So actually, if that function fails, we can instead call thanks |
@ajwfrost |
@ajwfrost |
Problem Description
A
TimeZone.getTimeZone(null)
call returnsnull
instead of a TimeZone object representing the current location of the device, as it is stated within the ASDocs: "Pass in a null string to get the TimeZone object representing the current location of the device."Steps to Reproduce
Example:
The text was updated successfully, but these errors were encountered: