flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dany Dhondt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-27549) spark.formatters.DateTimeFormatter.format() is not localized
Date Sat, 28 Mar 2015 12:30:53 GMT

    [ 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)

Mime
View raw message