[Android] DateTimeFormatter(LocaleID.DEFAULT)
always uses English
#3834
Labels
DateTimeFormatter(LocaleID.DEFAULT)
always uses English
#3834
Uh oh!
There was an error while loading. Please reload this page.
Problem Description
DateTimeFormatter(LocaleID.DEFAULT)
always uses English for Android. Doesn't matter what default system language set up.Tested with multiple AIR versions, even with latest AIR 51.2.1.4 with multiple different devices, OS versions with different applications.
The same issue in all cases.
There is no such issue with other plaftorms.
Related issues:
https://tracker.adobe.com/#/view/AIR-4198765
#3469
#99
#3091
#3090
#2644
Steps to Reproduce
Launch code below with any Android device with system Spanish locale (or any other non-English).
Application sample with sources attached.
android_date_time_formatter_default_bug.zip
Actual Result:
In traces you will see:
Expected Result:
In traces you will see:
Known Workarounds
Set up locale directly which you can get from
Capabilities.languages
orCapabilities.language
.The text was updated successfully, but these errors were encountered: