{"action":"created","issue":{"url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/23","repository_url":"https://api.github.com/repos/lineaba/prog-o-meter","labels_url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/23/comments","events_url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/23/events","html_url":"https://github.com/lineaba/prog-o-meter/issues/23","id":316465710,"number":23,"title":"Display finishing date","user":{"login":"lineaba","id":32916783,"avatar_url":"https://avatars0.githubusercontent.com/u/32916783?v=4","gravatar_id":"","url":"https://api.github.com/users/lineaba","html_url":"https://github.com/lineaba","followers_url":"https://api.github.com/users/lineaba/followers","following_url":"https://api.github.com/users/lineaba/following{/other_user}","gists_url":"https://api.github.com/users/lineaba/gists{/gist_id}","starred_url":"https://api.github.com/users/lineaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lineaba/subscriptions","organizations_url":"https://api.github.com/users/lineaba/orgs","repos_url":"https://api.github.com/users/lineaba/repos","events_url":"https://api.github.com/users/lineaba/events{/privacy}","received_events_url":"https://api.github.com/users/lineaba/received_events","type":"User","site_admin":false},"labels":[{"id":908947059,"url":"https://api.github.com/repos/lineaba/prog-o-meter/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-21T06:07:26Z","updated_at":"2018-04-22T18:51:29Z","closed_at":null,"author_association":"OWNER","body":"Below the current line of text displayed in the prog-o-meter window stating how many days the user have left before they reach the goal, we should also display a line of text stating the end-date, i.e. the date on which they will reach their goal.\r\n\r\nThis requires that we calculate the end-date based on the current date + The number of remaining days of challenge (self.GOAL-self.days)\r\n\r\nWe should also make sure to update the the add_day method (belonging to the ProgressGUI class), so that when it is called, this line of text is updated. (Most likely the end-date will be the same, if the user is progressing at the \"normal\" speed. However, if they have not been progressing for one or more days, and then add a new day after their \"hiatus\", we should calculate, and display the new end-date)\r\n\r\nSuggestion: You can add the new code to the canvas_layout method belonging to the ProgressGUI class. For inspiration on how to do it, check out the assignment of self.countdown_text in canvas_layout method belonging to ProgressGUI.\r\nMaybe the python module datetime (https://docs.python.org/3/library/datetime.html) can be used to calculate which date it will be, x days from today."},"comment":{"url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/comments/383403645","html_url":"https://github.com/lineaba/prog-o-meter/issues/23#issuecomment-383403645","issue_url":"https://api.github.com/repos/lineaba/prog-o-meter/issues/23","id":383403645,"user":{"login":"lineaba","id":32916783,"avatar_url":"https://avatars0.githubusercontent.com/u/32916783?v=4","gravatar_id":"","url":"https://api.github.com/users/lineaba","html_url":"https://github.com/lineaba","followers_url":"https://api.github.com/users/lineaba/followers","following_url":"https://api.github.com/users/lineaba/following{/other_user}","gists_url":"https://api.github.com/users/lineaba/gists{/gist_id}","starred_url":"https://api.github.com/users/lineaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lineaba/subscriptions","organizations_url":"https://api.github.com/users/lineaba/orgs","repos_url":"https://api.github.com/users/lineaba/repos","events_url":"https://api.github.com/users/lineaba/events{/privacy}","received_events_url":"https://api.github.com/users/lineaba/received_events","type":"User","site_admin":false},"created_at":"2018-04-22T18:51:29Z","updated_at":"2018-04-22T18:51:29Z","author_association":"OWNER","body":"Awesome, and welcome to the team. Let me know if you have any questions "}}
{"actor":{"display_login":"lineaba"}}