0 Replies Latest reply on Apr 21, 2008 3:05 AM by yonghua

    Bug in DateFormatter?

    yonghua
      Just take the code below for example:

      var df:DateFormatter = new DateFormatter();
      df.formatString = "LL:NN A DD-MMM-YYYY"
      var s:String = "01/01/1900 pm 05:00:00";
      Alert.show("" + df.format(s));

      The result will be "05:00 AM 01-Jan-1900". If I change to: var s:String = "01/01/1900 pm 17:00:00"; things seem ok.

      Can anyone advise? thx.