Hi,
I have added the Apache Flex 4.13 SDK to my Adobe FlashBuilder 4.6
development environment.  During testing, to make sure the build of my
application using Apache Flex acted the same as my Adobe Flex 4.6, I
noticed a difference with the following:

finalFromDate = DateFormatter.parseDateString(
dateFormatterMMDDYY.format(yesterdayDate), 'MM/DD/YY');  //20150112 added
'MM/DD/YY' for Apache Flex

I had to add 'MM/DD/YY' to get the correct date.  Without the 'MM/DD/YY' I
got "01/07/14' instead of the expected "07/01/14" - the month and day were
reversed.

I have included source MXML file of a test I did (using your example from
https://flex.apache.org/asdoc/mx/formatters/Formatter.html).  You can see
the difference (the last 2 lines of output, ignore everything else).  And
another surprise was that when I went back to Adobe Flex and added the
'MM/DD/YY' I got an error message indicating only one parameter was
expected.

Now, of course, I wonder if there are any other changes/surprises in my app
that I cannot readily see.

Thanks for any help,
Joe Hegedus
Attachment: testDateFormatters.mxml

Reply via email to