Been working on a project where I'm consuming JSON from a web app and
encountered a problem with dates back and forth.

This is the date format I'm getting from javascript (new Date).toJSON():
2014-05-28T04:27:49.722Z

And this is the date format ERRest seems to want
2014-05-28T04:27:49Z

If I use the javascript date I get errors, but if I remove the '.722'
everything works fine.

Is there an easy way to set ERRest to accept the javascript style of date?
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to