2 Replies Latest reply on Feb 2, 2010 10:40 AM by Flex harUI

    Can DateChooser display Buddhist Era?


      With Flex 4 beta 2, I can set dayNames and monthNames to my locale (th)
      but not found any property about year's label.


      Here is the year's display rules in my locale:

      • yearSymbol is on the left side of year number.
      • year number is the sum of "displayYear" and 543.


      Look into the code of DateChooser.as, in the private method "updateDateDisplay":


      yearDisplay.text = displayYear.toString() + yearSymbol;


      This line means : the year label cannot modify.

      Are there any suggestion or I have to write my own DateChooser?


      The following picture shows my expected DateChooser.