{"action":"created","comment":{"url":"https://api.github.com/repos/cullophid/date-fp/pulls/comments/48142429","id":48142429,"diff_hunk":"@@ -1,8 +1,7 @@\n-'use strict';\n-import curry from 'lodash.curry';\n+import curry from 'lodash.curry'\n \n export default curry((date) => {\n-    if(Object.prototype.toString.call(date) !== \"[object Date]\") return false;\n-    let unixTime = date.getTime();\n-    return unixTime === unixTime;\n-});\n+  if (Object.prototype.toString.call(date) !== \"[object Date]\") return false\n+\n+  return !isNaN(date.getTime())","path":"src/isValid.js","position":12,"original_position":12,"commit_id":"78b61e3e12870e86fee9cbcd51bd4b1685c82b36","original_commit_id":"78b61e3e12870e86fee9cbcd51bd4b1685c82b36","user":{"login":"svozza","id":8573472,"avatar_url":"https://avatars.githubusercontent.com/u/8573472?v=3","gravatar_id":"","url":"https://api.github.com/users/svozza","html_url":"https://github.com/svozza","followers_url":"https://api.github.com/users/svozza/followers","following_url":"https://api.github.com/users/svozza/following{/other_user}","gists_url":"https://api.github.com/users/svozza/gists{/gist_id}","starred_url":"https://api.github.com/users/svozza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svozza/subscriptions","organizations_url":"https://api.github.com/users/svozza/orgs","repos_url":"https://api.github.com/users/svozza/repos","events_url":"https://api.github.com/users/svozza/events{/privacy}","received_events_url":"https://api.github.com/users/svozza/received_events","type":"User","site_admin":false},"body":"No, I don' think so. It doesn't do it in the REPL.","created_at":"2015-12-21T12:47:42Z","updated_at":"2015-12-21T12:47:42Z","html_url":"https://github.com/cullophid/date-fp/pull/21#discussion_r48142429","pull_request_url":"https://api.github.com/repos/cullophid/date-fp/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/comments/48142429"},"html":{"href":"https://github.com/cullophid/date-fp/pull/21#discussion_r48142429"},"pull_request":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/cullophid/date-fp/pulls/21","id":54247673,"html_url":"https://github.com/cullophid/date-fp/pull/21","diff_url":"https://github.com/cullophid/date-fp/pull/21.diff","patch_url":"https://github.com/cullophid/date-fp/pull/21.patch","issue_url":"https://api.github.com/repos/cullophid/date-fp/issues/21","number":21,"state":"open","locked":false,"title":"Babel 6, and goodbye to semicolons","user":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-21T11:46:15Z","updated_at":"2015-12-21T12:47:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"350a3fe70e6647f2d6086f8f721cb884fde49a5d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cullophid/date-fp/pulls/21/commits","review_comments_url":"https://api.github.com/repos/cullophid/date-fp/pulls/21/comments","review_comment_url":"https://api.github.com/repos/cullophid/date-fp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cullophid/date-fp/issues/21/comments","statuses_url":"https://api.github.com/repos/cullophid/date-fp/statuses/78b61e3e12870e86fee9cbcd51bd4b1685c82b36","head":{"label":"cullophid:no-semi","ref":"no-semi","sha":"78b61e3e12870e86fee9cbcd51bd4b1685c82b36","user":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"repo":{"id":43721994,"name":"date-fp","full_name":"cullophid/date-fp","owner":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cullophid/date-fp","description":"Functional programming date manipulation library","fork":false,"url":"https://api.github.com/repos/cullophid/date-fp","forks_url":"https://api.github.com/repos/cullophid/date-fp/forks","keys_url":"https://api.github.com/repos/cullophid/date-fp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cullophid/date-fp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cullophid/date-fp/teams","hooks_url":"https://api.github.com/repos/cullophid/date-fp/hooks","issue_events_url":"https://api.github.com/repos/cullophid/date-fp/issues/events{/number}","events_url":"https://api.github.com/repos/cullophid/date-fp/events","assignees_url":"https://api.github.com/repos/cullophid/date-fp/assignees{/user}","branches_url":"https://api.github.com/repos/cullophid/date-fp/branches{/branch}","tags_url":"https://api.github.com/repos/cullophid/date-fp/tags","blobs_url":"https://api.github.com/repos/cullophid/date-fp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cullophid/date-fp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cullophid/date-fp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cullophid/date-fp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cullophid/date-fp/statuses/{sha}","languages_url":"https://api.github.com/repos/cullophid/date-fp/languages","stargazers_url":"https://api.github.com/repos/cullophid/date-fp/stargazers","contributors_url":"https://api.github.com/repos/cullophid/date-fp/contributors","subscribers_url":"https://api.github.com/repos/cullophid/date-fp/subscribers","subscription_url":"https://api.github.com/repos/cullophid/date-fp/subscription","commits_url":"https://api.github.com/repos/cullophid/date-fp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cullophid/date-fp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cullophid/date-fp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cullophid/date-fp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cullophid/date-fp/contents/{+path}","compare_url":"https://api.github.com/repos/cullophid/date-fp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cullophid/date-fp/merges","archive_url":"https://api.github.com/repos/cullophid/date-fp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cullophid/date-fp/downloads","issues_url":"https://api.github.com/repos/cullophid/date-fp/issues{/number}","pulls_url":"https://api.github.com/repos/cullophid/date-fp/pulls{/number}","milestones_url":"https://api.github.com/repos/cullophid/date-fp/milestones{/number}","notifications_url":"https://api.github.com/repos/cullophid/date-fp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cullophid/date-fp/labels{/name}","releases_url":"https://api.github.com/repos/cullophid/date-fp/releases{/id}","created_at":"2015-10-06T00:33:14Z","updated_at":"2015-12-16T17:04:10Z","pushed_at":"2015-12-21T12:15:46Z","git_url":"git://github.com/cullophid/date-fp.git","ssh_url":"git@github.com:cullophid/date-fp.git","clone_url":"https://github.com/cullophid/date-fp.git","svn_url":"https://github.com/cullophid/date-fp","homepage":null,"size":121,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":31,"default_branch":"master"}},"base":{"label":"cullophid:master","ref":"master","sha":"774763454cc044704f503f9ad928d9950d38cd66","user":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"repo":{"id":43721994,"name":"date-fp","full_name":"cullophid/date-fp","owner":{"login":"cullophid","id":1183585,"avatar_url":"https://avatars.githubusercontent.com/u/1183585?v=3","gravatar_id":"","url":"https://api.github.com/users/cullophid","html_url":"https://github.com/cullophid","followers_url":"https://api.github.com/users/cullophid/followers","following_url":"https://api.github.com/users/cullophid/following{/other_user}","gists_url":"https://api.github.com/users/cullophid/gists{/gist_id}","starred_url":"https://api.github.com/users/cullophid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cullophid/subscriptions","organizations_url":"https://api.github.com/users/cullophid/orgs","repos_url":"https://api.github.com/users/cullophid/repos","events_url":"https://api.github.com/users/cullophid/events{/privacy}","received_events_url":"https://api.github.com/users/cullophid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cullophid/date-fp","description":"Functional programming date manipulation library","fork":false,"url":"https://api.github.com/repos/cullophid/date-fp","forks_url":"https://api.github.com/repos/cullophid/date-fp/forks","keys_url":"https://api.github.com/repos/cullophid/date-fp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cullophid/date-fp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cullophid/date-fp/teams","hooks_url":"https://api.github.com/repos/cullophid/date-fp/hooks","issue_events_url":"https://api.github.com/repos/cullophid/date-fp/issues/events{/number}","events_url":"https://api.github.com/repos/cullophid/date-fp/events","assignees_url":"https://api.github.com/repos/cullophid/date-fp/assignees{/user}","branches_url":"https://api.github.com/repos/cullophid/date-fp/branches{/branch}","tags_url":"https://api.github.com/repos/cullophid/date-fp/tags","blobs_url":"https://api.github.com/repos/cullophid/date-fp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cullophid/date-fp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cullophid/date-fp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cullophid/date-fp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cullophid/date-fp/statuses/{sha}","languages_url":"https://api.github.com/repos/cullophid/date-fp/languages","stargazers_url":"https://api.github.com/repos/cullophid/date-fp/stargazers","contributors_url":"https://api.github.com/repos/cullophid/date-fp/contributors","subscribers_url":"https://api.github.com/repos/cullophid/date-fp/subscribers","subscription_url":"https://api.github.com/repos/cullophid/date-fp/subscription","commits_url":"https://api.github.com/repos/cullophid/date-fp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cullophid/date-fp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cullophid/date-fp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cullophid/date-fp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cullophid/date-fp/contents/{+path}","compare_url":"https://api.github.com/repos/cullophid/date-fp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cullophid/date-fp/merges","archive_url":"https://api.github.com/repos/cullophid/date-fp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cullophid/date-fp/downloads","issues_url":"https://api.github.com/repos/cullophid/date-fp/issues{/number}","pulls_url":"https://api.github.com/repos/cullophid/date-fp/pulls{/number}","milestones_url":"https://api.github.com/repos/cullophid/date-fp/milestones{/number}","notifications_url":"https://api.github.com/repos/cullophid/date-fp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cullophid/date-fp/labels{/name}","releases_url":"https://api.github.com/repos/cullophid/date-fp/releases{/id}","created_at":"2015-10-06T00:33:14Z","updated_at":"2015-12-16T17:04:10Z","pushed_at":"2015-12-21T12:15:46Z","git_url":"git://github.com/cullophid/date-fp.git","ssh_url":"git@github.com:cullophid/date-fp.git","clone_url":"https://github.com/cullophid/date-fp.git","svn_url":"https://github.com/cullophid/date-fp","homepage":null,"size":121,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/21"},"html":{"href":"https://github.com/cullophid/date-fp/pull/21"},"issue":{"href":"https://api.github.com/repos/cullophid/date-fp/issues/21"},"comments":{"href":"https://api.github.com/repos/cullophid/date-fp/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cullophid/date-fp/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/cullophid/date-fp/statuses/78b61e3e12870e86fee9cbcd51bd4b1685c82b36"}}}}