{"action":"created","comment":{"url":"https://api.github.com/repos/azkaban/azkaban/pulls/comments/77038464","id":77038464,"diff_hunk":"@@ -197,23 +201,46 @@ function updateOutput() {\n }\n \n function updateExpression() {\n-  $(cron_translate_id).text( \"\\\"\" + prettyCron.toString( transformFromCronToQuartz($(cron_output_id).val())) + \" (UTC)\\\"\");\n-  $(cron_translate_warning_id).html( \" <small>***The execution plan translation has limitations. Please check the <a href=\\\"http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html\\\">Quartz-Cron syntax</a> when in doubt.***</small>\" );\n-\n   var newLi = $('<li>' + 'newTask' + '</li>');\n   $('#nextRecurId').html(\"\");\n \n-  console.log(\"current cron = \" + $(cron_output_id).val());\n-  var cron1 = later.parse.cron($(cron_output_id).val());\n-  var occurrences = later.schedule(cron1).next(10);\n+  console.log(\"cron Input = \" + $(cron_output_id).val());\n+  var laterCron = later.parse.cron($(cron_output_id).val());\n+\n+  //Get the current time given the server timezone.\n+  var now1 = moment().tz(timezone);","path":"azkaban-webserver/src/web/js/azkaban/view/schedule-panel.js","position":197,"original_position":40,"commit_id":"b17aa96475346da80e8a58339f179d76129ddeb7","original_commit_id":"8bd9d9f6049d1734f7e9c8682bb52a6e015b98c5","user":{"login":"HappyRay","id":6646529,"avatar_url":"https://avatars.githubusercontent.com/u/6646529?v=3","gravatar_id":"","url":"https://api.github.com/users/HappyRay","html_url":"https://github.com/HappyRay","followers_url":"https://api.github.com/users/HappyRay/followers","following_url":"https://api.github.com/users/HappyRay/following{/other_user}","gists_url":"https://api.github.com/users/HappyRay/gists{/gist_id}","starred_url":"https://api.github.com/users/HappyRay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HappyRay/subscriptions","organizations_url":"https://api.github.com/users/HappyRay/orgs","repos_url":"https://api.github.com/users/HappyRay/repos","events_url":"https://api.github.com/users/HappyRay/events{/privacy}","received_events_url":"https://api.github.com/users/HappyRay/received_events","type":"User","site_admin":false},"body":"How about naming it \"serverTime\"? ","created_at":"2016-08-31T17:55:33Z","updated_at":"2016-08-31T17:55:33Z","html_url":"https://github.com/azkaban/azkaban/pull/704#discussion_r77038464","pull_request_url":"https://api.github.com/repos/azkaban/azkaban/pulls/704","_links":{"self":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/comments/77038464"},"html":{"href":"https://github.com/azkaban/azkaban/pull/704#discussion_r77038464"},"pull_request":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/704"}}},"pull_request":{"url":"https://api.github.com/repos/azkaban/azkaban/pulls/704","id":81003910,"html_url":"https://github.com/azkaban/azkaban/pull/704","diff_url":"https://github.com/azkaban/azkaban/pull/704.diff","patch_url":"https://github.com/azkaban/azkaban/pull/704.patch","issue_url":"https://api.github.com/repos/azkaban/azkaban/issues/704","number":704,"state":"open","locked":false,"title":"fix comment from pull request #698","user":{"login":"fsi206914","id":2895882,"avatar_url":"https://avatars.githubusercontent.com/u/2895882?v=3","gravatar_id":"","url":"https://api.github.com/users/fsi206914","html_url":"https://github.com/fsi206914","followers_url":"https://api.github.com/users/fsi206914/followers","following_url":"https://api.github.com/users/fsi206914/following{/other_user}","gists_url":"https://api.github.com/users/fsi206914/gists{/gist_id}","starred_url":"https://api.github.com/users/fsi206914/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsi206914/subscriptions","organizations_url":"https://api.github.com/users/fsi206914/orgs","repos_url":"https://api.github.com/users/fsi206914/repos","events_url":"https://api.github.com/users/fsi206914/events{/privacy}","received_events_url":"https://api.github.com/users/fsi206914/received_events","type":"User","site_admin":false},"body":"Will try adding more cron tests.","created_at":"2016-08-11T18:11:20Z","updated_at":"2016-08-31T17:55:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f80eebbacea8acd09da9dd0b841f073dcc894f4d","assignee":{"login":"fsi206914","id":2895882,"avatar_url":"https://avatars.githubusercontent.com/u/2895882?v=3","gravatar_id":"","url":"https://api.github.com/users/fsi206914","html_url":"https://github.com/fsi206914","followers_url":"https://api.github.com/users/fsi206914/followers","following_url":"https://api.github.com/users/fsi206914/following{/other_user}","gists_url":"https://api.github.com/users/fsi206914/gists{/gist_id}","starred_url":"https://api.github.com/users/fsi206914/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsi206914/subscriptions","organizations_url":"https://api.github.com/users/fsi206914/orgs","repos_url":"https://api.github.com/users/fsi206914/repos","events_url":"https://api.github.com/users/fsi206914/events{/privacy}","received_events_url":"https://api.github.com/users/fsi206914/received_events","type":"User","site_admin":false},"assignees":[{"login":"fsi206914","id":2895882,"avatar_url":"https://avatars.githubusercontent.com/u/2895882?v=3","gravatar_id":"","url":"https://api.github.com/users/fsi206914","html_url":"https://github.com/fsi206914","followers_url":"https://api.github.com/users/fsi206914/followers","following_url":"https://api.github.com/users/fsi206914/following{/other_user}","gists_url":"https://api.github.com/users/fsi206914/gists{/gist_id}","starred_url":"https://api.github.com/users/fsi206914/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsi206914/subscriptions","organizations_url":"https://api.github.com/users/fsi206914/orgs","repos_url":"https://api.github.com/users/fsi206914/repos","events_url":"https://api.github.com/users/fsi206914/events{/privacy}","received_events_url":"https://api.github.com/users/fsi206914/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/azkaban/azkaban/pulls/704/commits","review_comments_url":"https://api.github.com/repos/azkaban/azkaban/pulls/704/comments","review_comment_url":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azkaban/azkaban/issues/704/comments","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/b17aa96475346da80e8a58339f179d76129ddeb7","head":{"label":"fsi206914:newFlexibleScheduling","ref":"newFlexibleScheduling","sha":"b17aa96475346da80e8a58339f179d76129ddeb7","user":{"login":"fsi206914","id":2895882,"avatar_url":"https://avatars.githubusercontent.com/u/2895882?v=3","gravatar_id":"","url":"https://api.github.com/users/fsi206914","html_url":"https://github.com/fsi206914","followers_url":"https://api.github.com/users/fsi206914/followers","following_url":"https://api.github.com/users/fsi206914/following{/other_user}","gists_url":"https://api.github.com/users/fsi206914/gists{/gist_id}","starred_url":"https://api.github.com/users/fsi206914/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsi206914/subscriptions","organizations_url":"https://api.github.com/users/fsi206914/orgs","repos_url":"https://api.github.com/users/fsi206914/repos","events_url":"https://api.github.com/users/fsi206914/events{/privacy}","received_events_url":"https://api.github.com/users/fsi206914/received_events","type":"User","site_admin":false},"repo":{"id":61070884,"name":"azkaban","full_name":"fsi206914/azkaban","owner":{"login":"fsi206914","id":2895882,"avatar_url":"https://avatars.githubusercontent.com/u/2895882?v=3","gravatar_id":"","url":"https://api.github.com/users/fsi206914","html_url":"https://github.com/fsi206914","followers_url":"https://api.github.com/users/fsi206914/followers","following_url":"https://api.github.com/users/fsi206914/following{/other_user}","gists_url":"https://api.github.com/users/fsi206914/gists{/gist_id}","starred_url":"https://api.github.com/users/fsi206914/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsi206914/subscriptions","organizations_url":"https://api.github.com/users/fsi206914/orgs","repos_url":"https://api.github.com/users/fsi206914/repos","events_url":"https://api.github.com/users/fsi206914/events{/privacy}","received_events_url":"https://api.github.com/users/fsi206914/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fsi206914/azkaban","description":"Azkaban workflow manager.","fork":true,"url":"https://api.github.com/repos/fsi206914/azkaban","forks_url":"https://api.github.com/repos/fsi206914/azkaban/forks","keys_url":"https://api.github.com/repos/fsi206914/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsi206914/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsi206914/azkaban/teams","hooks_url":"https://api.github.com/repos/fsi206914/azkaban/hooks","issue_events_url":"https://api.github.com/repos/fsi206914/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/fsi206914/azkaban/events","assignees_url":"https://api.github.com/repos/fsi206914/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/fsi206914/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/fsi206914/azkaban/tags","blobs_url":"https://api.github.com/repos/fsi206914/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsi206914/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsi206914/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsi206914/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsi206914/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/fsi206914/azkaban/languages","stargazers_url":"https://api.github.com/repos/fsi206914/azkaban/stargazers","contributors_url":"https://api.github.com/repos/fsi206914/azkaban/contributors","subscribers_url":"https://api.github.com/repos/fsi206914/azkaban/subscribers","subscription_url":"https://api.github.com/repos/fsi206914/azkaban/subscription","commits_url":"https://api.github.com/repos/fsi206914/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsi206914/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsi206914/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsi206914/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsi206914/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/fsi206914/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsi206914/azkaban/merges","archive_url":"https://api.github.com/repos/fsi206914/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsi206914/azkaban/downloads","issues_url":"https://api.github.com/repos/fsi206914/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/fsi206914/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/fsi206914/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/fsi206914/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsi206914/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/fsi206914/azkaban/releases{/id}","deployments_url":"https://api.github.com/repos/fsi206914/azkaban/deployments","created_at":"2016-06-13T21:26:53Z","updated_at":"2016-06-13T21:26:58Z","pushed_at":"2016-08-30T19:17:26Z","git_url":"git://github.com/fsi206914/azkaban.git","ssh_url":"git@github.com:fsi206914/azkaban.git","clone_url":"https://github.com/fsi206914/azkaban.git","svn_url":"https://github.com/fsi206914/azkaban","homepage":"https://azkaban.github.io","size":33109,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"azkaban:master","ref":"master","sha":"e94d5a332d5e7f28bf568935d741a612c9a58d45","user":{"login":"azkaban","id":213618,"avatar_url":"https://avatars.githubusercontent.com/u/213618?v=3","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"repo":{"id":6271421,"name":"azkaban","full_name":"azkaban/azkaban","owner":{"login":"azkaban","id":213618,"avatar_url":"https://avatars.githubusercontent.com/u/213618?v=3","gravatar_id":"","url":"https://api.github.com/users/azkaban","html_url":"https://github.com/azkaban","followers_url":"https://api.github.com/users/azkaban/followers","following_url":"https://api.github.com/users/azkaban/following{/other_user}","gists_url":"https://api.github.com/users/azkaban/gists{/gist_id}","starred_url":"https://api.github.com/users/azkaban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azkaban/subscriptions","organizations_url":"https://api.github.com/users/azkaban/orgs","repos_url":"https://api.github.com/users/azkaban/repos","events_url":"https://api.github.com/users/azkaban/events{/privacy}","received_events_url":"https://api.github.com/users/azkaban/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azkaban/azkaban","description":"Azkaban workflow manager.","fork":false,"url":"https://api.github.com/repos/azkaban/azkaban","forks_url":"https://api.github.com/repos/azkaban/azkaban/forks","keys_url":"https://api.github.com/repos/azkaban/azkaban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azkaban/azkaban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azkaban/azkaban/teams","hooks_url":"https://api.github.com/repos/azkaban/azkaban/hooks","issue_events_url":"https://api.github.com/repos/azkaban/azkaban/issues/events{/number}","events_url":"https://api.github.com/repos/azkaban/azkaban/events","assignees_url":"https://api.github.com/repos/azkaban/azkaban/assignees{/user}","branches_url":"https://api.github.com/repos/azkaban/azkaban/branches{/branch}","tags_url":"https://api.github.com/repos/azkaban/azkaban/tags","blobs_url":"https://api.github.com/repos/azkaban/azkaban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azkaban/azkaban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azkaban/azkaban/git/refs{/sha}","trees_url":"https://api.github.com/repos/azkaban/azkaban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azkaban/azkaban/statuses/{sha}","languages_url":"https://api.github.com/repos/azkaban/azkaban/languages","stargazers_url":"https://api.github.com/repos/azkaban/azkaban/stargazers","contributors_url":"https://api.github.com/repos/azkaban/azkaban/contributors","subscribers_url":"https://api.github.com/repos/azkaban/azkaban/subscribers","subscription_url":"https://api.github.com/repos/azkaban/azkaban/subscription","commits_url":"https://api.github.com/repos/azkaban/azkaban/commits{/sha}","git_commits_url":"https://api.github.com/repos/azkaban/azkaban/git/commits{/sha}","comments_url":"https://api.github.com/repos/azkaban/azkaban/comments{/number}","issue_comment_url":"https://api.github.com/repos/azkaban/azkaban/issues/comments{/number}","contents_url":"https://api.github.com/repos/azkaban/azkaban/contents/{+path}","compare_url":"https://api.github.com/repos/azkaban/azkaban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azkaban/azkaban/merges","archive_url":"https://api.github.com/repos/azkaban/azkaban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azkaban/azkaban/downloads","issues_url":"https://api.github.com/repos/azkaban/azkaban/issues{/number}","pulls_url":"https://api.github.com/repos/azkaban/azkaban/pulls{/number}","milestones_url":"https://api.github.com/repos/azkaban/azkaban/milestones{/number}","notifications_url":"https://api.github.com/repos/azkaban/azkaban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azkaban/azkaban/labels{/name}","releases_url":"https://api.github.com/repos/azkaban/azkaban/releases{/id}","deployments_url":"https://api.github.com/repos/azkaban/azkaban/deployments","created_at":"2012-10-18T01:34:53Z","updated_at":"2016-08-31T08:20:41Z","pushed_at":"2016-08-30T18:10:31Z","git_url":"git://github.com/azkaban/azkaban.git","ssh_url":"git@github.com:azkaban/azkaban.git","clone_url":"https://github.com/azkaban/azkaban.git","svn_url":"https://github.com/azkaban/azkaban","homepage":"https://azkaban.github.io","size":34245,"stargazers_count":774,"watchers_count":774,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":442,"mirror_url":null,"open_issues_count":256,"forks":442,"open_issues":256,"watchers":774,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/704"},"html":{"href":"https://github.com/azkaban/azkaban/pull/704"},"issue":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/704"},"comments":{"href":"https://api.github.com/repos/azkaban/azkaban/issues/704/comments"},"review_comments":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/704/comments"},"review_comment":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azkaban/azkaban/pulls/704/commits"},"statuses":{"href":"https://api.github.com/repos/azkaban/azkaban/statuses/b17aa96475346da80e8a58339f179d76129ddeb7"}}}}
{"actor":{"display_login":"HappyRay"}}