This is an automated email from the ASF dual-hosted git repository.

pushminakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0684190  Added Default value for _dayNamesShort and _monthNamesShort 
in DateBase.as
0684190 is described below

commit 0684190c7be7f589c4e77815cd231d303ff0024f
Author: pashminakazi <[email protected]>
AuthorDate: Tue Feb 11 13:35:42 2020 +0500

    Added Default value for _dayNamesShort and _monthNamesShort in DateBase.as
---
 .../projects/MXRoyale/src/main/royale/mx/formatters/DateBase.as       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/DateBase.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/DateBase.as
index dac2ab1..c1b01a2 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/DateBase.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/formatters/DateBase.as
@@ -145,7 +145,7 @@ public class DateBase
      *  @private
      *  Storage for the dayNamesShort property.
      */
-    private static var _dayNamesShort:Array; /* of String */
+    private static var _dayNamesShort:Array = ["Sun", "Mon", "Tue", "Wed", 
"Thu", "Fri", "Sat"]; /* of String */
     
     /**
      *  @private
@@ -269,7 +269,7 @@ public class DateBase
      *  @private
      *  Storage for the monthNamesShort property.
      */
-    private static var _monthNamesShort:Array; /* of String */
+    private static var _monthNamesShort:Array = ["Jan", "Feb", "Mar", "Apr", 
"May", "Jun", "Jul", "Aug", "Sep", "Oct","Nov", "Dec"]; /* of String */
     
     /**
      *  @private

Reply via email to