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

[Localization]: DateField should support "MMM" and "MMMM" for formatString

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.4 (Release)
    • Apache Flex 4.10.0
    • mx: DateField
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run the following application:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application
      xmlns:mx="http://www.adobe.com/2006/mxml"
      styleName="plain">
      <mx:Form>
      <mx:FormItem label="Enter new date:">
      <mx:DateField id="df" selectedDate="

      {new Date(2009,8,8)}

      " formatString="DD-MMMM-YYYY"/>
      </mx:FormItem>
      </mx:Form>
      </mx:Application>

      Actual Results:
      <mx:DateField> field displays "08-0909-2009"

      Expected Results:
      <mx:DateField> field should display "08-September-09"

      Workaround (if any):

      Patch static method "dateToString" of DateField by ourselves.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: