Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 4.0 (Release)
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Internet Explorer 6.x
Language Found: English
Description
Steps to reproduce:
1. Make sure that compiler argument for the project is set to de_DE or es_ES or ru_RU.
2. Compile the the attached MXML file.
Actual Results:
Labels text with id "dateValue1" and "dateValue2" are displayed empty, although they are binded to the formatted value of <mx:DateField> control
Expected Results:
Labels text with id "dateValue1" and "dateValue2" are filled with the formatted date value from <mx:DateField> control.
Workaround (if any):
Do not use standard DateFormatter for formatting if dates are passed in string format, write your own implementation of formatter and rewrite "parseDateString" static method.
The problem with "parseDateString" method that it cannot handle passed dateStrings formatted by date formats that differ from default "en_US" format 'MM/DD/YYYY'
E.g., default date formats for international locales ru_RU (DD.MM.YYYY) or de_DE (DD/MM/YYYY) fail to work with "parseDateString" method.