{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/926","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/926/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/926/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/926","id":139448011,"number":926,"title":"Bug:","user":{"login":"FilipZawada","id":1159454,"avatar_url":"https://avatars.githubusercontent.com/u/1159454?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipZawada","html_url":"https://github.com/FilipZawada","followers_url":"https://api.github.com/users/FilipZawada/followers","following_url":"https://api.github.com/users/FilipZawada/following{/other_user}","gists_url":"https://api.github.com/users/FilipZawada/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipZawada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipZawada/subscriptions","organizations_url":"https://api.github.com/users/FilipZawada/orgs","repos_url":"https://api.github.com/users/FilipZawada/repos","events_url":"https://api.github.com/users/FilipZawada/events{/privacy}","received_events_url":"https://api.github.com/users/FilipZawada/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T01:44:56Z","updated_at":"2016-03-09T01:44:56Z","closed_at":null,"body":"Parse saves array of dates `[new Date()]` as an array of Strings.\r\n\r\nIn database:\r\n* we've got: `[\"2016-02-04T09:23:40.280Z\"]`\r\n* Instead of: `[{\"__type\":\"Date\",\"iso\":\"2016-02-04T09:23:40.280Z\"}]`\r\n```\r\n// on server\r\n\r\nuser.set(\"dates\", [new Date()])\r\nuser.save().then(function() {\r\n  return user.fetch()\r\n}).then(function() {\r\n  var dates = user.get(\"dates\")\r\n  console.log(dates[0] instanceof String) // true\r\n})\r\n```"}}