{"action":"closed","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/245","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/245/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/issues/245/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-iOS-OSX/issues/245","id":106183565,"number":245,"title":"PFDateFormatter Class Issue","user":{"login":"pranjalsatija","id":6324573,"avatar_url":"https://avatars.githubusercontent.com/u/6324573?v=3","gravatar_id":"","url":"https://api.github.com/users/pranjalsatija","html_url":"https://github.com/pranjalsatija","followers_url":"https://api.github.com/users/pranjalsatija/followers","following_url":"https://api.github.com/users/pranjalsatija/following{/other_user}","gists_url":"https://api.github.com/users/pranjalsatija/gists{/gist_id}","starred_url":"https://api.github.com/users/pranjalsatija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranjalsatija/subscriptions","organizations_url":"https://api.github.com/users/pranjalsatija/orgs","repos_url":"https://api.github.com/users/pranjalsatija/repos","events_url":"https://api.github.com/users/pranjalsatija/events{/privacy}","received_events_url":"https://api.github.com/users/pranjalsatija/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-iOS-OSX/labels/duplicate","name":"duplicate","color":"eeeeee"}],"state":"closed","locked":false,"assignee":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-12T20:32:15Z","updated_at":"2015-09-12T20:34:22Z","closed_at":"2015-09-12T20:34:22Z","body":"In  `PFDateFormatter`'s dateFromString method in the iOS SDK, the accepted parameter is an NSString, but this function is occasionally called with an NSDate. For now, I've fixed it with the following: `    if ([string class] == NSClassFromString(@\"__NSDate\")) {\r\n        return string;\r\n    }`\r\n\r\nBut this bug took a while to figure out, please fix it."}}