flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [1/3] git commit: [flex-sdk] - FLEX-14596 Added O and Z as valid format characters
Date Sun, 28 Apr 2013 22:50:17 GMT
Updated Branches:
  refs/heads/develop a0548274c -> 30f2dab30


FLEX-14596 Added O and Z as valid format characters


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/3b34cb8b
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/3b34cb8b
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/3b34cb8b

Branch: refs/heads/develop
Commit: 3b34cb8b81fc2d0f97526e919ed38723d8e39f1b
Parents: 55b1475
Author: Justin Mclean <jmclean@apache.org>
Authored: Mon Apr 29 08:42:54 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Mon Apr 29 08:42:54 2013 +1000

----------------------------------------------------------------------
 .../framework/src/mx/formatters/DateFormatter.as   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/3b34cb8b/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/formatters/DateFormatter.as b/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
index 5c3d8c7..ddac66c 100644
--- a/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ b/frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -88,7 +88,7 @@ public class DateFormatter extends Formatter
     /**
      *  @private    
      */
-    private static const VALID_PATTERN_CHARS:String = "Y,M,D,A,E,H,J,K,L,N,S,Q";
+    private static const VALID_PATTERN_CHARS:String = "Y,M,D,A,E,H,J,K,L,N,S,Q,O,Z";
     
     //--------------------------------------------------------------------------
     //
@@ -122,7 +122,7 @@ public class DateFormatter extends Formatter
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public static function parseDateString (str:String, format:String = null):Date
+    public static function parseDateString(str:String, format:String = null):Date
     {
         if (!str || str == "")
             return null;
@@ -684,7 +684,7 @@ public class DateFormatter extends Formatter
             {
                 error = defaultInvalidValueError;
                 return "";
-            }
+			}
         }
         else if (!(value is Date))
         {


Mime
View raw message