You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Robert Hunt (JIRA)" <ji...@apache.org> on 2013/10/15 00:09:41 UTC

[jira] [Updated] (FLEX-33823) Certain DateField format strings causes null value in selectedDate

     [ https://issues.apache.org/jira/browse/FLEX-33823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Hunt updated FLEX-33823:
-------------------------------

    Description: 
This is identical to FLEX-16656 but it appears the bug still occurs when certain format strings are used. I have discovered that the two letter month "MM" works fine but the three letter month "MMM" does not. The following definition caused the selectedDate property to be set to null after a date is chosen:

<mx:DateField id="badDateField" formatString="DD/MMM/YYYY"/>
EG: 14/Oct/2013

The following appears to work fine and doesn't cause the date to be set to null after a date is chosen:

<mx:DateField id="goodDateField" formatString="DD/MM/YYYY"/>
EG: 14/10/2013



  was:
This is identical to FLEX-16656 but it appears the bug still occurs when certain format strings are used. I have discovered that the two letter month "MM" works fine but the three letter month "MMM" does not. The following definition caused the selectedDate property to be set to null after a date is chosen:

<mx:DateField id="badDateField" formatString="DD/MMM/YYYY"/>
EG: 14/Oct/2013

The following appears to work fine and doesn't cause the date to be set to null after a date is chosen:

<mx:DateField id="badDateField" formatString="DD/MM/YYYY"/>
EG: 14/10/2013




> Certain DateField format strings causes null value in selectedDate
> ------------------------------------------------------------------
>
>                 Key: FLEX-33823
>                 URL: https://issues.apache.org/jira/browse/FLEX-33823
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DateField
>    Affects Versions: Apache Flex 4.10.0
>         Environment: Affected OS(s): Mac
> Browser: Firefox
> Language Found: English
>            Reporter: Robert Hunt
>
> This is identical to FLEX-16656 but it appears the bug still occurs when certain format strings are used. I have discovered that the two letter month "MM" works fine but the three letter month "MMM" does not. The following definition caused the selectedDate property to be set to null after a date is chosen:
> <mx:DateField id="badDateField" formatString="DD/MMM/YYYY"/>
> EG: 14/Oct/2013
> The following appears to work fine and doesn't cause the date to be set to null after a date is chosen:
> <mx:DateField id="goodDateField" formatString="DD/MM/YYYY"/>
> EG: 14/10/2013



--
This message was sent by Atlassian JIRA
(v6.1#6144)