You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Dany Dhondt (JIRA)" <ji...@apache.org> on 2015/03/28 13:30:53 UTC
[jira] [Commented] (FLEX-27549)
spark.formatters.DateTimeFormatter.format() is not localized
[ https://issues.apache.org/jira/browse/FLEX-27549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385270#comment-14385270 ]
Dany Dhondt commented on FLEX-27549:
------------------------------------
Have you tried setting local style = fr-FR instead of fr_FR?
> spark.formatters.DateTimeFormatter.format() is not localized
> ------------------------------------------------------------
>
> Key: FLEX-27549
> URL: https://issues.apache.org/jira/browse/FLEX-27549
> Project: Apache Flex
> Issue Type: Bug
> Components: i18n : Formatter Support
> Affects Versions: Adobe Flex SDK 4.5.1 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: French
> Reporter: Adobe JIRA
> Assignee: Adobe JIRA
>
> Steps to reproduce:
> 1. Set locale to fr_FR
> 2. run this code :
> var dateTimeFormatter:DateTimeFormatter = new DateTimeFormatter();
> dateTimeFormatter.dateTimePattern = "d MMMM yyyy";
> trace(dateTimeFormatter.format(new Date(2011, 5, 30)));
>
> Actual Results:
> 30 June 2011
> Expected Results:
> 30 Juin 2011
> Workaround (if any):
> use mx:DateFormatter
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)