Nisaba opened a new issue #1180:
URL: https://github.com/apache/royale-asjs/issues/1180


   Hello,
   
   This code crashes:
   
           public function GetDateString(pDate: Date):String {
               if (pDate == null) return "";
               return pDate.day.toString() + "/" + pDate.month.toString() + "/" 
+ pDate.fullYear.toString() +
                   " " + pDate.hours.toString() + ":" + 
pDate.minutes.toString();
           }
   
   
   Here is the error in the browser console:
   Uncaught TypeError: pDate.getDay is not a function
   
   
![image](https://user-images.githubusercontent.com/34550856/156826211-0e7da710-7cd0-464b-8692-9d7dfcc761a2.png)
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to