android - SimpleDateFormat And Arabic Locale -


i want format date arabic locale doesn't work on galaxy tab2 doesn't work on galaxy note , gives me 2 different results.

here code:

dateformat format = new simpledateformat("eeee yyyy/mm/dd", new locale(             "ar"));     string formateddate = format.format(calendar.getinstance().gettime()); 

note when check supported locales, find android 4.0 on galaxy tab2 does. didn't find arabic locales.

locale[] supportedlocales = locale.getavailablelocales(); 

is there workaround solve issue or library can use that?

note:

on roomed android version (android 4.1) cyanogenmod, works , support arabic locales.

what seems devices bought has android builds not prepared region. remove arabic support reasons (like small rom).

may better if device made region or flash new rom support arabic (for mea, middle east area) devices. check same hardware version, can break it.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -