{"action":"closed","issue":{"url":"https://api.github.com/repos/justarrived/just-match-frontend/issues/353","repository_url":"https://api.github.com/repos/justarrived/just-match-frontend","labels_url":"https://api.github.com/repos/justarrived/just-match-frontend/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/justarrived/just-match-frontend/issues/353/comments","events_url":"https://api.github.com/repos/justarrived/just-match-frontend/issues/353/events","html_url":"https://github.com/justarrived/just-match-frontend/issues/353","id":154928938,"number":353,"title":"Hard coded confirmation time in ArriverJobCtrl","user":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/justarrived/just-match-frontend/labels/TikkaWithTeam","name":"TikkaWithTeam","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/justarrived/just-match-frontend/milestones/2","html_url":"https://github.com/justarrived/just-match-frontend/milestones/Launch%20(prio%203)","labels_url":"https://api.github.com/repos/justarrived/just-match-frontend/milestones/2/labels","id":1753534,"number":2,"title":"Launch (prio 3)","description":"","creator":{"login":"buren","id":922411,"avatar_url":"https://avatars.githubusercontent.com/u/922411?v=3","gravatar_id":"","url":"https://api.github.com/users/buren","html_url":"https://github.com/buren","followers_url":"https://api.github.com/users/buren/followers","following_url":"https://api.github.com/users/buren/following{/other_user}","gists_url":"https://api.github.com/users/buren/gists{/gist_id}","starred_url":"https://api.github.com/users/buren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buren/subscriptions","organizations_url":"https://api.github.com/users/buren/orgs","repos_url":"https://api.github.com/users/buren/repos","events_url":"https://api.github.com/users/buren/events{/privacy}","received_events_url":"https://api.github.com/users/buren/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":24,"state":"open","created_at":"2016-05-08T09:11:01Z","updated_at":"2016-05-19T09:47:28Z","due_on":"2016-05-22T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-05-15T20:39:12Z","updated_at":"2016-05-19T09:47:28Z","closed_at":"2016-05-19T09:47:28Z","body":"__Description__\r\n\r\nIn `ArrivedJobCtrl` the value `waitMaxMinutes` is hardcoded to 18 hours. This value doesn't need to be hard coded but can be calculated from the date-time value, [`will-perform-confirmation-by`](http://localhost:3000/api_docs/1.0/job_users/index.html), the arrived must set `will-perform` to true ([see docs](http://localhost:3000/api_docs/1.0/job_users/index.html)) before that date-time.\r\n\r\n[current code](https://github.com/justarrived/just-match-frontend/blob/74f3884cbf3efaa461b32d174c79bafa418f3298/src/app/common/controllers/ArriverJobCtrl.js#L139):\r\n\r\n```js\r\n// src/app/common/controllers/ArriverJobCtrl.js#L139\r\nthis.maxWaitMinutes = 1080; // 18 hours\r\n```\r\n\r\nThis means that if the confirm time can differ between frontend/backend.."}}