In some cases applications (especially time-sensitive) should know TimeZone localized (or human readable) "display name".
Right now AIR for Windows using TimeZone::displayName return human readable value - thats ok. But for Android it return id (seems https://developer.android.com/reference/java/util/TimeZone#getID()).
Didn't test with other platforms.
It necessary to work with time zones using native extension.
For example, right now for Android TimeZone::displayName return:
Brazil/East
What I would like to be return from TimeZone::displayName:
Brasilia Standard Time (Sao Paulo) (or localized version which is ok)
Feature Description
In some cases applications (especially time-sensitive) should know
TimeZone
localized (or human readable) "display name". Right now AIR for Windows usingTimeZone::displayName
return human readable value - thats ok. But for Android it return id (seems https://developer.android.com/reference/java/util/TimeZone#getID()). Didn't test with other platforms.My opinion - AIR for Android with
TimeZone::displayName
should return "display name" (https://developer.android.com/reference/java/util/TimeZone#getDisplayName()). Similar to Windows. And with some new property should return "unique key" https://github.com/airsdk/Adobe-Runtime-Support/issues/3090.It necessary to work with time zones using native extension.
For example, right now for Android
TimeZone::displayName
return:Brazil/East
What I would like to be return fromTimeZone::displayName
:Brasilia Standard Time (Sao Paulo)
(or localized version which is ok)Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/3090 https://github.com/airsdk/Adobe-Runtime-Support/issues/2610
Known Workarounds
Write own native extension to work with time zones.