{"action":"opened","issue":{"url":"https://api.github.com/repos/zohararad/sails-rest/issues/38","labels_url":"https://api.github.com/repos/zohararad/sails-rest/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/zohararad/sails-rest/issues/38/comments","events_url":"https://api.github.com/repos/zohararad/sails-rest/issues/38/events","html_url":"https://github.com/zohararad/sails-rest/issues/38","id":61216875,"number":38,"title":"formatResult(s) not receiving \"definition\" parameter","user":{"login":"joshuajabbour","id":66879,"avatar_url":"https://avatars.githubusercontent.com/u/66879?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuajabbour","html_url":"https://github.com/joshuajabbour","followers_url":"https://api.github.com/users/joshuajabbour/followers","following_url":"https://api.github.com/users/joshuajabbour/following{/other_user}","gists_url":"https://api.github.com/users/joshuajabbour/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuajabbour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuajabbour/subscriptions","organizations_url":"https://api.github.com/users/joshuajabbour/orgs","repos_url":"https://api.github.com/users/joshuajabbour/repos","events_url":"https://api.github.com/users/joshuajabbour/events{/privacy}","received_events_url":"https://api.github.com/users/joshuajabbour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-13T20:14:02Z","updated_at":"2015-03-13T20:14:02Z","closed_at":null,"body":"I'm not sure if this is a recent change (I'm using Sails 0.11), but formatResult doesn't receive a proper `definition` parameter. This makes [the date conversion code not do anything](https://github.com/zohararad/sails-rest/blob/master/SailsRest.js#L41). I haven't quite figured out why/how this isn't working as expected, but if I do, I'll send a PR."}}