incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Arthur <>
Subject Re: [CONTRIBUTION] Spark Components
Date Fri, 27 Apr 2012 15:52:58 GMT
On Fri, Apr 27, 2012 at 3:41 AM, francois de campredon
<> 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

View raw message