[ https://issues.apache.org/jira/browse/FLEX-12503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643954#comment-13643954 ]
Justin Mclean commented on FLEX-12503: -------------------------------------- It's odd but it's functioning as described. A date time format of "H" is hour 1-24 hours with the first hour of the day being 24 just like lifer midnight Use "J" rather than "H" which is 0-23 hours or for an even more sensible result (with an AM/PM indicator) use "L" which is 1-12. > DateFormatter with formatString "MM/DD/YYYY H:NN A" formats Time of > "00:00:00" to "24:00 AM" instead of "00:00 AM" > ------------------------------------------------------------------------------------------------------------------ > > Key: FLEX-12503 > URL: https://issues.apache.org/jira/browse/FLEX-12503 > Project: Apache Flex > Issue Type: Bug > Components: Formatters > Affects Versions: Adobe Flex SDK 3.0 (Release) > Environment: Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Justin Mclean > Priority: Minor > Labels: easytest > > Steps to reproduce: > 1. Create Date object with time of "00:00:00" > 2. Create DateFormatter with formatString of "MM/DD/YYYY H:NN A" > 3. format() and see the result > > Actual Results: > <date> 24:00 AM > > Expected Results: > <date> 00:00 AM (to comply with SQL standard) > > Workaround (if any): > replace " 24:" with " 00:" if found in result string -- 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