On 1/22/17, 4:40 PM, "Justin Mclean" <jus...@classsoftware.com> wrote:
>Hi, > >We’ve got a number of mustella tests failing due to locale issues, for >example NV_negativeNumberFormat_tester test >NV_negativeNumberFormat_bindingWithLocaleChange_test15. > >The issues seem to be that the negativeNumberFormat value is expected to >change when switching locale between in this case English and Arabic. > >Just wondering if anyone could run the following code and tell me what >they get. I’m running on OSX Sierra. > >var arabic:NumberFormatter = new NumberFormatter("ar-JO"); >trace(arabic.formatInt(-100)); >trace(arabic.negativeNumberFormat); > >For the first trace I get the minus signs is correctly positioned on RHS, >for the second it displays “1” which is incorrect, it should be “3”. > >Note that this seem to be a Flash Player issue not a flex SDK issue. I played around with it a bit. Maybe it is an OSX issue? Maybe older OSX versions did support "3" and now don't? I couldn't find any way to change it in System Preferences. Might be ok to change the tests so they don't expect the number format to change. -Alex