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

DateFormatter return empty string when modifies properties of DateBase for non US

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.1 (Release)
    • Apache Flex 4.10.0
    • Formatters
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run attached MXML file

      Actual Results:
      Empty String when modifies properties of DateBase for non US (I'm Brazilian) on initApp method. If I don't work fine.

      Expected Results:
      Dates formatted correctly.

      Workaround (if any):
      To use labelFunction on AdvancedDataGrid instead property formatter.
      Or, extends AdvancedDataGridColumn overriding itemToLabel using applyFormatting with parameter Object (or Date) instead String.
      Date.toString always returns US format instead format setted in DateBase.

      Attachments

        1. teste.mxml
          3 kB
          Justin Mclean

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: