On Fri, Apr 27, 2012 at 3:41 AM, francois de campredon <francois.de.campre...@gmail.com> wrote: > Hi thanks for your quick reply, > I will try to create a set of unit test for this components. > For the locale, i took back the logic from the mx DateChooser (so > daysNames,firstDayOfWeek,monthNames,monthSymbol and yearSymbol are > retrieved from the controls resource bundle). > I added the possibility of switching locale into the example to let you > check that. > I also corrected some minor bug, i'll look for the bug that you described > shammy.
You should probably use the flash.globalization / spark.formatters.DateTimeFormatter (uses flash.globalization) for date/time locale specific formatting. The flash.globalization package allows flash to get the date and time format preferences directly from the OS, which is much better IMO. - Doug