[
https://issues.apache.org/jira/browse/FLEX-21609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean resolved FLEX-21609.
----------------------------------
Resolution: Fixed
> Make the Date.parse locale aware.
> ---------------------------------
>
> Key: FLEX-21609
> URL: https://issues.apache.org/jira/browse/FLEX-21609
> Project: Apache Flex
> Issue Type: Improvement
> Components: Formatters, i18n : Formatter Support, mx: DateField,
> Validators
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Priority: Minor
>
> Steps to reproduce:
> 1. Set the compiler locale to a non-english one (I used it_IT)
> 2. Add a DateField
> 3. Try to parse the date provided by DateField.text or a date hardcoded in a
> string with dd/mm/yyyy formatting.
> This issue is somewhat related (and should be linked) to SDK-23683.
>
> Actual Results:
> I tried 4 different parsing methods and I got 4 different results, as in the
> project attached.
>
> Expected Results:
> I expect that parsing a date without specifying a formatter should try
> parsing the date with the default formatter for the current locale.
>
> Workaround (if any):
> Provide the explicit formatter for the current locale for each date parsed,
> using only the DateField parser. But the formatter provided should be with
> english convenctions (DD and YYYY for days and years) and not the localized
> version of the formatter.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira