1 Reply Latest reply on Aug 29, 2008 2:23 AM by Newsgroup_User

    DateTimeAxis localization


      I'm trying to display date value in European format (dd/mm/yy) on a DateTimeAxis. I've changed the SharedResources.properties file and recompiled my application using the -locale fr_FR option.
      However the DateTimeAxis still shows mm/dd/yy values. Values shown in DateChooser are correct.

      Date values are parsed from SQL-style values using a parse function :

      private function parseDate(sqldate:String):Date{
      var newDate:Date = new Date(0);
      var bits:Array = sqldate.split('-');
      newDate.setFullYear(bits[0], bits[1], bits[2]);
      return newDate;

      What did I do wrong?