Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 4.5 (Release)
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Internet Explorer 6.x
Language Found: English
Description
First of all, thanks for supporting additional locales (instead of only en_US and jp_JP) in the new SDK versions. There's a
Steps to reproduce:
1. Create a new empty Flex application and simply insert an DateField (or paste the content of the attached Main.mxml file)
2. Leave the default locale en_US, run the project and try to use the control: it works correctly
3. In the project settings, switch the locale to it_IT
4. Try to run the application again
Actual Results:
Selecting any date, the displayed text in the DateField is wrong: for January it shows 011 instead of 01, for February 022 instead of 02, and so on. This also produce validation errors when using the DateValidator.
Expected Results:
Correct month numbers should be shown, no validation errors on correct dates.
Workaround (if any):
On application startup, replace the content of the "dateFormat" resource in the "SharedResources" bundle with the value "DD/MM/YYYY" (instead of the original wrong value "DD/MMM/YYYY"), and dispatch the Event.CHANGE event from the ResourceManager instance (see the commented code in the attached Main.mxml)