{"action":"created","issue":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8791","repository_url":"https://api.github.com/repos/TEAMMATES/teammates","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8791/labels{/name}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8791/comments","events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8791/events","html_url":"https://github.com/TEAMMATES/teammates/issues/8791","id":314868240,"number":8791,"title":"Instructor: edit session: visible date: reject incorrect dates","user":{"login":"damithc","id":1673303,"avatar_url":"https://avatars3.githubusercontent.com/u/1673303?v=4","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false},"labels":[{"id":96671782,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/a-FaultTolerance","name":"a-FaultTolerance","color":"E6CCFF","default":false},{"id":96881841,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/d.Contributors","name":"d.Contributors","color":"8099FF","default":false},{"id":597980632,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/f-Sessions","name":"f-Sessions","color":"f4e0c7","default":false},{"id":96633450,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/p.High","name":"p.High","color":"e15050","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-17T01:00:27Z","updated_at":"2018-04-17T05:14:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"v6.5.1\r\n\r\nSteps:\r\n1. Login as instructor\r\n2. Edit visible date of an existing session by modifying the text box (not the date picker)\r\n3. Enter an incorrect date where the day doesn't match the date e.g., Take a valid date and change the date but not the day -- Apr 19th is not a Tuesday\r\n![image](https://user-images.githubusercontent.com/1673303/38842610-9090c4f8-421d-11e8-8f62-9e081d1e17e3.png)\r\n\r\n4. Save\r\n\r\nExpected: The date is rejected or auto-corrected upon save\r\nActual: The incorrect date is saved\r\n"},"comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments/381844800","html_url":"https://github.com/TEAMMATES/teammates/issues/8791#issuecomment-381844800","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8791","id":381844800,"user":{"login":"shaharyar-shamshi","id":17377195,"avatar_url":"https://avatars3.githubusercontent.com/u/17377195?v=4","gravatar_id":"","url":"https://api.github.com/users/shaharyar-shamshi","html_url":"https://github.com/shaharyar-shamshi","followers_url":"https://api.github.com/users/shaharyar-shamshi/followers","following_url":"https://api.github.com/users/shaharyar-shamshi/following{/other_user}","gists_url":"https://api.github.com/users/shaharyar-shamshi/gists{/gist_id}","starred_url":"https://api.github.com/users/shaharyar-shamshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaharyar-shamshi/subscriptions","organizations_url":"https://api.github.com/users/shaharyar-shamshi/orgs","repos_url":"https://api.github.com/users/shaharyar-shamshi/repos","events_url":"https://api.github.com/users/shaharyar-shamshi/events{/privacy}","received_events_url":"https://api.github.com/users/shaharyar-shamshi/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T05:14:12Z","updated_at":"2018-04-17T05:14:12Z","author_association":"CONTRIBUTOR","body":"@whipermr5 sir actually I am introduction a the method in Timehelper to match the day and date if they are wrong then I am changing the day to match it with the date"}}
{"actor":{"display_login":"shaharyar-shamshi"}}