[ https://issues.apache.org/jira/browse/FLEX-20983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean reopened FLEX-20983: ---------------------------------- +1 for consistency and wider support for date formats. > "dateFormat" value from "SharedResources.properties" should not be shared > between DateFields and DateFormatters > --------------------------------------------------------------------------------------------------------------- > > Key: FLEX-20983 > URL: https://issues.apache.org/jira/browse/FLEX-20983 > Project: Apache Flex > Issue Type: Bug > Components: i18n : Formatter Support > Affects Versions: Adobe Flex SDK 3.4 (Release) > Environment: Affected OS(s): All OS Platforms > Browser: Firefox 3.x > Language Found: English > Reporter: Adobe JIRA > Assignee: Adobe JIRA > Priority: Minor > > The problem in its nutshell: > Currently DateField and DateFormatter share the single value specified in > variable "dateFormat" in SharedResources.properties file, while those classes > do not support the same set of formatting options (masks) > DateFormatter supports a full set of available formatting options (masks) see > LiveDocs for "formatString": > http://livedocs.adobe.com/flex/3/langref/mx/formatters/DateFormatter.html#formatString > Y, M, D, E, A, J, H, K, L, N, S masks are supported > DateField supports only *limited* subset from full set of available > formatting options(masks), see LiveDocs for "formatString" > http://livedocs.adobe.com/flex/3/langref/mx/controls/DateField.html#formatString > M, MM, D, YY, YYYY are supported, while even MMM and MMMM are not supported, > probably bug: http://bugs.adobe.com/jira/browse/SDK-23075 > E, A, J, H, K, L, N, S masks are not supported by DateField component > The problem is that anyone during localization process of > "SharedResources.properties" can alter the value for "dateFormat" to include > any masks from full subset of supported options for DateFormatter. > While this will be OK for Dates that are displayed with DateFormatter format > applied, all Dates that are displayed in DateFields UI control will be > screwed. > See attached Flex project sample that illustrates this problem. -- 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