You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/19 05:45:16 UTC

[jira] [Resolved] (FLEX-26073) mx:DateField is unable to format correctly single placeholders for a day or month (e.g. D-M-YYYY).

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

Justin Mclean resolved FLEX-26073.
----------------------------------

    Resolution: Fixed

Checked fix into develop branch.
                
> mx:DateField is unable to format correctly single placeholders for a day or month (e.g. D-M-YYYY).
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-26073
>                 URL: https://issues.apache.org/jira/browse/FLEX-26073
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DateField
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Justin Mclean
>
> Steps to reproduce:
> 1. Add an mx:DateField control. 
> 2. Set the formatString property to the value of 'D-M-YYYY'.
> 3. Set the selectedDate property to the value of 'new Date(2010, 11, 1)'.
>  
>  Actual Results:
>  The formatted string is '01122010'.
>  
>  Expected Results:
>  The formatted string should be '1-12-2010'.
>  
>  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira