Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
Added DateTime data type support.
RemoteTK didn't seem to support DateTime fields when passed in the remote actions (kept getting illegal assignment errors back). This should fix it. Also added a "formatDateTime" helper method to remotetk.Client to ensure the format is consistent with what DateTime.valueOf() is expecting in Apex.