Sign In Register

How can we help you today?

Start a new topic

Actionscript CreateChallengeRequest : parse date error

Hi,

i'm using ActionScript SDK, and I can create a Challenge, as the date can't be parsed.


Here is my code :

var d:Date = new Date();

gs.getRequestBuilder() 

     .createCreateChallengeRequest()

     (...)

     .setEndTime(d) 

     .send(onCreateChallengeResponse); 


And here is the response : 

"message":"java.text.ParseException: Unparseable date: \"2016-01-06-T09:35Z\"


What is the date format expected ? I have no control on this.


Regards


1 Comment

Hi Fabien,


We round up to the nearest minute for challenges and they are sent in batches.
Another user in this thread had a similar issue, the solution there should help you.


Thanks,


Oisin

Login to post a comment