You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Philip Keiter (JIRA)" <ji...@apache.org> on 2015/01/09 04:25:34 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=14270495#comment-14270495 ] 

Philip Keiter commented on FLEX-27549:
--------------------------------------

gosmith's explanation of how these things work does NOT address the issue at hand. And I confirm the issue is still open and valid. However, this issue also exists in flash.globalization.DateTimeFormatter which the spark one is a wrapper for. So it needs to be fixed by Adobe not Apache.

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