Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27549

spark.formatters.DateTimeFormatter.format() is not localized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: French

    Description

      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

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: