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

DateTimeFormatter: When setting "dateStyle" and "timeStyle" to custom , no expected error is thrown.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: Formatters
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:

      1. Declare a DateTimeFormatter within <fx:Declarations>
      <s:DateTimeFormatter id="dtf" />
      2. Set dateStyle by dtf.dateStyle="custom" ;
      3. No error occur like other invalid argument.

      Actual Results:
      No error occur .

      Expected Results:
      There should be an error "ArgumentError: Error #2008: Parameter DateTimeFormatterStyle must be one of the accepted values.".

      Workaround (if any):

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: