You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/03/13 23:33:46 UTC

[GitHub] [royale-asjs] nihavend opened a new issue #757: DateFormatter.parseDateString throws exception

nihavend opened a new issue #757: DateFormatter.parseDateString throws exception
URL: https://github.com/apache/royale-asjs/issues/757
 
 
   The exception :
   
   ![image](https://user-images.githubusercontent.com/5983818/76669258-f2703e80-659b-11ea-9436-9c91c74aab6c.png)
   
   Source code for test :
   ```
   <?xml version="1.0" encoding="latin5" ?>
   
   <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   			   xmlns:s="library://ns.apache.org/royale/spark"
   			   xmlns:mx="library://ns.apache.org/royale/mx"
   			   height="600" width="800"
   			   creationComplete="group1_creationCompleteHandler(event)">
   	
   
   <fx:Script>
   	<![CDATA[
   	import mx.formatters.DateFormatter;
   		
   	protected function group1_creationCompleteHandler(event:FlexEvent):void {
   		var dateStr:String = "Fri Mar 13 2020 01:00:00 GMT+0300 (GMT+03:00)";
   		
   		var dateFormatter:DateFormatter = new DateFormatter();
   		dateFormatter.formatString = 'JJ:NN:SS DD/MM/YYYY';
   		var txt:String = dateFormatter.format(DateFormatter.parseDateString(dateStr));
   		trace(txt);
   	}
   		
   	]]>
   </fx:Script>
   	
   	
   </s:Application>
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #757: DateFormatter.parseDateString throws exception

Posted by GitBox <gi...@apache.org>.
aharui closed issue #757: DateFormatter.parseDateString throws exception
URL: https://github.com/apache/royale-asjs/issues/757
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] nihavend commented on issue #757: DateFormatter.parseDateString throws exception

Posted by GitBox <gi...@apache.org>.
nihavend commented on issue #757: DateFormatter.parseDateString throws exception
URL: https://github.com/apache/royale-asjs/issues/757#issuecomment-599194924
 
 
   Resource return null I guess @aharui 
   
   ![image](https://user-images.githubusercontent.com/5983818/76700087-ce5c4c80-66c4-11ea-8bc2-4b4598a456d4.png)
   
   ![image](https://user-images.githubusercontent.com/5983818/76700109-0b284380-66c5-11ea-8e29-397e33fc2c2e.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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services