Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Internet Explorer 8.x
Language Found: English
Description
Steps to reproduce:
1.Define a DateTimeFormatter in ActionSctipt with locale 'zh-CN':
public var dtf:spark.formatters.DateTimeFormatter = new spark.formatters.DateTimeFormatter('zh-CN');
2.Set locale to 'ru-RU' by calling dtf.setStyle('locale','ru-RU');
3.Get weekday names by calling trace(dtf.getWeekdayNames());
4.Verify whether the returned weekday names are in Russian
Actual Results:
The return value of getWeekdayNames() are in Chinese:
星期日,星期一,星期二,星期三,星期四,星期五,星期六
Expected Results:
The return value of getWeekdayNames() are in Russian:
воскресенье,понедельник,вторник,среда,четверг,пятница,суббота
Attachment: sample code to repro this bug