{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/74","labels_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/74/comments","events_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/74/events","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/74","id":57946234,"number":74,"title":"NULL date instead of NaN","user":{"login":"rudzon","id":368907,"avatar_url":"https://avatars.githubusercontent.com/u/368907?v=3","gravatar_id":"","url":"https://api.github.com/users/rudzon","html_url":"https://github.com/rudzon","followers_url":"https://api.github.com/users/rudzon/followers","following_url":"https://api.github.com/users/rudzon/following{/other_user}","gists_url":"https://api.github.com/users/rudzon/gists{/gist_id}","starred_url":"https://api.github.com/users/rudzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudzon/subscriptions","organizations_url":"https://api.github.com/users/rudzon/orgs","repos_url":"https://api.github.com/users/rudzon/repos","events_url":"https://api.github.com/users/rudzon/events{/privacy}","received_events_url":"https://api.github.com/users/rudzon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/labels/%23community%20contribution","name":"#community contribution","color":"D4AF37"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-17T16:29:47Z","updated_at":"2015-02-18T10:31:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/pulls/74","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/74","diff_url":"https://github.com/strongloop/loopback-connector-mysql/pull/74.diff","patch_url":"https://github.com/strongloop/loopback-connector-mysql/pull/74.patch"},"body":"An invalid date cause ```dateToMysql``` to generate ```NaN-NaN-NaN NaN:NaN:NaN``` as a result and you receive ```0000-00-00 00:00:00``` timestamp."},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/comments/74843210","html_url":"https://github.com/strongloop/loopback-connector-mysql/pull/74#issuecomment-74843210","issue_url":"https://api.github.com/repos/strongloop/loopback-connector-mysql/issues/74","id":74843210,"user":{"login":"rudzon","id":368907,"avatar_url":"https://avatars.githubusercontent.com/u/368907?v=3","gravatar_id":"","url":"https://api.github.com/users/rudzon","html_url":"https://github.com/rudzon","followers_url":"https://api.github.com/users/rudzon/followers","following_url":"https://api.github.com/users/rudzon/following{/other_user}","gists_url":"https://api.github.com/users/rudzon/gists{/gist_id}","starred_url":"https://api.github.com/users/rudzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudzon/subscriptions","organizations_url":"https://api.github.com/users/rudzon/orgs","repos_url":"https://api.github.com/users/rudzon/repos","events_url":"https://api.github.com/users/rudzon/events{/privacy}","received_events_url":"https://api.github.com/users/rudzon/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T10:31:28Z","updated_at":"2015-02-18T10:31:28Z","body":"@raymondfeng When using updateAll method over REST, the ```data``` is passed raw here https://github.com/strongloop/loopback-datasource-juggler/blob/master/lib/dao.js#L1540. This ```try``` https://github.com/strongloop/loopback-datasource-juggler/blob/master/lib/dao.js#L1530 is checking ```where``` but not the ```data```"}}