{"action":"created","comment":{"url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/comments/197050567","pull_request_review_id":130714368,"id":197050567,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzA1MDU2Nw==","diff_hunk":"@@ -211,6 +261,26 @@ export class LocalDateTime {\n     Object.freeze(this);\n   }\n \n+  /**\n+   * Create a local date-time object from the given standard JavaScript <code>Date</code> and optional nanoseconds.\n+   * Time zone offset component of the given date is ignored.\n+   * @param {global.Date} standardDate the standard JavaScript date to convert.\n+   * @param {Integer|number|undefined} nanosecond the optional amount of nanoseconds.\n+   * @return {LocalDateTime} new local date-time.\n+   */\n+  static fromStandardDate(standardDate, nanosecond) {\n+    verifyStandardDateAndNanos(standardDate, nanosecond);\n+\n+    return new LocalDateTime(\n+      standardDate.getFullYear(),\n+      standardDate.getMonth(),","path":"src/v1/temporal-types.js","position":96,"original_position":96,"commit_id":"c6c1a087014d5ce977c5de60e5494b6a062b3bb1","original_commit_id":"c6c1a087014d5ce977c5de60e5494b6a062b3bb1","user":{"login":"ali-ince","id":24190262,"node_id":"MDQ6VXNlcjI0MTkwMjYy","avatar_url":"https://avatars0.githubusercontent.com/u/24190262?v=4","gravatar_id":"","url":"https://api.github.com/users/ali-ince","html_url":"https://github.com/ali-ince","followers_url":"https://api.github.com/users/ali-ince/followers","following_url":"https://api.github.com/users/ali-ince/following{/other_user}","gists_url":"https://api.github.com/users/ali-ince/gists{/gist_id}","starred_url":"https://api.github.com/users/ali-ince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ali-ince/subscriptions","organizations_url":"https://api.github.com/users/ali-ince/orgs","repos_url":"https://api.github.com/users/ali-ince/repos","events_url":"https://api.github.com/users/ali-ince/events{/privacy}","received_events_url":"https://api.github.com/users/ali-ince/received_events","type":"User","site_admin":false},"body":"Same here.","created_at":"2018-06-21T08:30:33Z","updated_at":"2018-06-21T08:43:29Z","html_url":"https://github.com/neo4j/neo4j-javascript-driver/pull/390#discussion_r197050567","pull_request_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/comments/197050567"},"html":{"href":"https://github.com/neo4j/neo4j-javascript-driver/pull/390#discussion_r197050567"},"pull_request":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390"}}},"pull_request":{"url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390","id":195891540,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODkxNTQw","html_url":"https://github.com/neo4j/neo4j-javascript-driver/pull/390","diff_url":"https://github.com/neo4j/neo4j-javascript-driver/pull/390.diff","patch_url":"https://github.com/neo4j/neo4j-javascript-driver/pull/390.patch","issue_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/390","number":390,"state":"open","locked":false,"title":"Allow to create temporal objects from standard JS Date","user":{"login":"lutovich","id":1638145,"node_id":"MDQ6VXNlcjE2MzgxNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1638145?v=4","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"body":"This PR adds `#fromStandardDate()` functions to all temporal types except `Duration`. Such functions allow to create temporal objects from the provided standard JavaScript `Date`.","created_at":"2018-06-19T16:45:20Z","updated_at":"2018-06-21T08:43:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f49c4b578b032e4af5e55f305d5d7c7f2c608deb","assignee":{"login":"ali-ince","id":24190262,"node_id":"MDQ6VXNlcjI0MTkwMjYy","avatar_url":"https://avatars0.githubusercontent.com/u/24190262?v=4","gravatar_id":"","url":"https://api.github.com/users/ali-ince","html_url":"https://github.com/ali-ince","followers_url":"https://api.github.com/users/ali-ince/followers","following_url":"https://api.github.com/users/ali-ince/following{/other_user}","gists_url":"https://api.github.com/users/ali-ince/gists{/gist_id}","starred_url":"https://api.github.com/users/ali-ince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ali-ince/subscriptions","organizations_url":"https://api.github.com/users/ali-ince/orgs","repos_url":"https://api.github.com/users/ali-ince/repos","events_url":"https://api.github.com/users/ali-ince/events{/privacy}","received_events_url":"https://api.github.com/users/ali-ince/received_events","type":"User","site_admin":false},"assignees":[{"login":"ali-ince","id":24190262,"node_id":"MDQ6VXNlcjI0MTkwMjYy","avatar_url":"https://avatars0.githubusercontent.com/u/24190262?v=4","gravatar_id":"","url":"https://api.github.com/users/ali-ince","html_url":"https://github.com/ali-ince","followers_url":"https://api.github.com/users/ali-ince/followers","following_url":"https://api.github.com/users/ali-ince/following{/other_user}","gists_url":"https://api.github.com/users/ali-ince/gists{/gist_id}","starred_url":"https://api.github.com/users/ali-ince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ali-ince/subscriptions","organizations_url":"https://api.github.com/users/ali-ince/orgs","repos_url":"https://api.github.com/users/ali-ince/repos","events_url":"https://api.github.com/users/ali-ince/events{/privacy}","received_events_url":"https://api.github.com/users/ali-ince/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390/commits","review_comments_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390/comments","review_comment_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/390/comments","statuses_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/statuses/c6c1a087014d5ce977c5de60e5494b6a062b3bb1","head":{"label":"lutovich:1.6-from-std-date","ref":"1.6-from-std-date","sha":"c6c1a087014d5ce977c5de60e5494b6a062b3bb1","user":{"login":"lutovich","id":1638145,"node_id":"MDQ6VXNlcjE2MzgxNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1638145?v=4","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"repo":{"id":74575363,"node_id":"MDEwOlJlcG9zaXRvcnk3NDU3NTM2Mw==","name":"neo4j-javascript-driver","full_name":"lutovich/neo4j-javascript-driver","owner":{"login":"lutovich","id":1638145,"node_id":"MDQ6VXNlcjE2MzgxNDU=","avatar_url":"https://avatars2.githubusercontent.com/u/1638145?v=4","gravatar_id":"","url":"https://api.github.com/users/lutovich","html_url":"https://github.com/lutovich","followers_url":"https://api.github.com/users/lutovich/followers","following_url":"https://api.github.com/users/lutovich/following{/other_user}","gists_url":"https://api.github.com/users/lutovich/gists{/gist_id}","starred_url":"https://api.github.com/users/lutovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lutovich/subscriptions","organizations_url":"https://api.github.com/users/lutovich/orgs","repos_url":"https://api.github.com/users/lutovich/repos","events_url":"https://api.github.com/users/lutovich/events{/privacy}","received_events_url":"https://api.github.com/users/lutovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lutovich/neo4j-javascript-driver","description":"Neo4j Bolt driver for JavaScript","fork":true,"url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver","forks_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/forks","keys_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/teams","hooks_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/hooks","issue_events_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/issues/events{/number}","events_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/events","assignees_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/assignees{/user}","branches_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/branches{/branch}","tags_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/tags","blobs_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/languages","stargazers_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/stargazers","contributors_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/contributors","subscribers_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/subscribers","subscription_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/subscription","commits_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/contents/{+path}","compare_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/merges","archive_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/downloads","issues_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/issues{/number}","pulls_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/labels{/name}","releases_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/releases{/id}","deployments_url":"https://api.github.com/repos/lutovich/neo4j-javascript-driver/deployments","created_at":"2016-11-23T12:37:34Z","updated_at":"2016-11-23T12:37:36Z","pushed_at":"2018-06-20T09:31:19Z","git_url":"git://github.com/lutovich/neo4j-javascript-driver.git","ssh_url":"git@github.com:lutovich/neo4j-javascript-driver.git","clone_url":"https://github.com/lutovich/neo4j-javascript-driver.git","svn_url":"https://github.com/lutovich/neo4j-javascript-driver","homepage":"","size":24712,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.1"}},"base":{"label":"neo4j:1.7","ref":"1.7","sha":"184716619484e65b61e6daad65293a8cfa586952","user":{"login":"neo4j","id":201120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTEyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/201120?v=4","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"repo":{"id":39573021,"node_id":"MDEwOlJlcG9zaXRvcnkzOTU3MzAyMQ==","name":"neo4j-javascript-driver","full_name":"neo4j/neo4j-javascript-driver","owner":{"login":"neo4j","id":201120,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTEyMA==","avatar_url":"https://avatars3.githubusercontent.com/u/201120?v=4","gravatar_id":"","url":"https://api.github.com/users/neo4j","html_url":"https://github.com/neo4j","followers_url":"https://api.github.com/users/neo4j/followers","following_url":"https://api.github.com/users/neo4j/following{/other_user}","gists_url":"https://api.github.com/users/neo4j/gists{/gist_id}","starred_url":"https://api.github.com/users/neo4j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo4j/subscriptions","organizations_url":"https://api.github.com/users/neo4j/orgs","repos_url":"https://api.github.com/users/neo4j/repos","events_url":"https://api.github.com/users/neo4j/events{/privacy}","received_events_url":"https://api.github.com/users/neo4j/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neo4j/neo4j-javascript-driver","description":"Neo4j Bolt driver for JavaScript","fork":false,"url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver","forks_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/forks","keys_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/teams","hooks_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/hooks","issue_events_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/events{/number}","events_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/events","assignees_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/assignees{/user}","branches_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/branches{/branch}","tags_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/tags","blobs_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/languages","stargazers_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/stargazers","contributors_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/contributors","subscribers_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/subscribers","subscription_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/subscription","commits_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/contents/{+path}","compare_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/merges","archive_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/downloads","issues_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues{/number}","pulls_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/labels{/name}","releases_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/releases{/id}","deployments_url":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/deployments","created_at":"2015-07-23T14:46:34Z","updated_at":"2018-06-19T12:11:01Z","pushed_at":"2018-06-20T09:31:20Z","git_url":"git://github.com/neo4j/neo4j-javascript-driver.git","ssh_url":"git@github.com:neo4j/neo4j-javascript-driver.git","clone_url":"https://github.com/neo4j/neo4j-javascript-driver.git","svn_url":"https://github.com/neo4j/neo4j-javascript-driver","homepage":"","size":24735,"stargazers_count":369,"watchers_count":369,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":76,"open_issues":12,"watchers":369,"default_branch":"1.7"}},"_links":{"self":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390"},"html":{"href":"https://github.com/neo4j/neo4j-javascript-driver/pull/390"},"issue":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/390"},"comments":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/neo4j/neo4j-javascript-driver/statuses/c6c1a087014d5ce977c5de60e5494b6a062b3bb1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ali-ince"}}