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

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

commit d3285e002c499e024019ac30c431602feb006a78
Author: Josh Tynjala <[email protected]>
AuthorDate: Tue Mar 16 13:20:48 2021 -0700

    playerglobalc: Date.parse should accept any
---
 .../src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
 
b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index 925a4cc..d164b41 100644
--- 
a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ 
b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -97,7 +97,7 @@ class PLAYERGLOBALC implements FlexTool {
                ANY_METHODS.put("Date",
                                Arrays.asList("setFullYear", "setMonth", 
"setDate", "setHours", "setMinutes", "setSeconds",
                                                "setMilliseconds", 
"setUTCFullYear", "setUTCMonth", "setUTCDate", "setUTCHours",
-                                               "setUTCMinutes", 
"setUTCSeconds", "setUTCMilliseconds", "setTime", "UTC"));
+                                               "setUTCMinutes", 
"setUTCSeconds", "setUTCMilliseconds", "setTime", "UTC", "parse"));
                ANY_METHODS.put("Object", Arrays.asList("hasOwnProperty", 
"isPrototypeOf", "propertyIsEnumerable"));
                ANY_METHODS.put("XML", Arrays.asList("addNamespace", 
"appendChild", "attribute", "child", "contains",
                                "descendants", "elements", "insertChildAfter", 
"insertChildBefore", "namespace", "prependChild",

Reply via email to