{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/15883","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/15883/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/15883/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/15883/events","html_url":"https://github.com/angular/angular.js/issues/15883","id":218951154,"number":15883,"title":"Documentation for input[week] doesn't mention what will be the underlying Date object","user":{"login":"Vicente69","id":5869062,"avatar_url":"https://avatars2.githubusercontent.com/u/5869062?v=3","gravatar_id":"","url":"https://api.github.com/users/Vicente69","html_url":"https://github.com/Vicente69","followers_url":"https://api.github.com/users/Vicente69/followers","following_url":"https://api.github.com/users/Vicente69/following{/other_user}","gists_url":"https://api.github.com/users/Vicente69/gists{/gist_id}","starred_url":"https://api.github.com/users/Vicente69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vicente69/subscriptions","organizations_url":"https://api.github.com/users/Vicente69/orgs","repos_url":"https://api.github.com/users/Vicente69/repos","events_url":"https://api.github.com/users/Vicente69/events{/privacy}","received_events_url":"https://api.github.com/users/Vicente69/received_events","type":"User","site_admin":false},"labels":[{"id":128334929,"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20filters","name":"component: filters","color":"bfdadc","default":false},{"id":53079815,"url":"https://api.github.com/repos/angular/angular.js/labels/frequency:%20low","name":"frequency: low","color":"bfe5bf","default":false},{"id":167873,"url":"https://api.github.com/repos/angular/angular.js/labels/PRs%20plz!","name":"PRs plz!","color":"02d7e1","default":false},{"id":83182340,"url":"https://api.github.com/repos/angular/angular.js/labels/severity:%20confusing","name":"severity: confusing","color":"cd19e7","default":false},{"id":62072,"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20docs","name":"type: docs","color":"9fe6ad","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/27","html_url":"https://github.com/angular/angular.js/milestone/27","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/27/labels","id":489171,"number":27,"title":"Backlog","description":"Holds the backlog of issues and pull requests that have been triaged.\r\n\r\nBefore assigning items to this milestone they should be labelled, at the very least with the correct \"type\" label (i.e. \"issue\", \"pr\", \"bug\", \"regression\", \"chore\", \"docs\", etc).  Preferably you should also check for duplicate issues/PRs, note CLA status and assign \"complexity\" and \"impact\" labels too.","creator":{"login":"IgorMinar","id":216296,"avatar_url":"https://avatars0.githubusercontent.com/u/216296?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorMinar","html_url":"https://github.com/IgorMinar","followers_url":"https://api.github.com/users/IgorMinar/followers","following_url":"https://api.github.com/users/IgorMinar/following{/other_user}","gists_url":"https://api.github.com/users/IgorMinar/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorMinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorMinar/subscriptions","organizations_url":"https://api.github.com/users/IgorMinar/orgs","repos_url":"https://api.github.com/users/IgorMinar/repos","events_url":"https://api.github.com/users/IgorMinar/events{/privacy}","received_events_url":"https://api.github.com/users/IgorMinar/received_events","type":"User","site_admin":false},"open_issues":450,"closed_issues":1601,"state":"open","created_at":"2013-11-18T23:30:35Z","updated_at":"2017-04-03T16:25:05Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-04-03T14:27:00Z","updated_at":"2017-04-03T19:28:48Z","closed_at":null,"body":"<!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATION\r\n-->\r\n\r\n<!--\r\n- For *SUPPORT QUESTIONS*, use one of the\r\n[support channels](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question).\r\n- Before submitting, please **SEARCH GITHUB** for a similar issue or PR. -->\r\n\r\n**I'm submitting a ...**\r\n<!-- (check one with \"x\") -->\r\n- [ ] bug report\r\n- [ ] feature request\r\n- [X] other (Please do not submit support requests here (see above))\r\n\r\n**Current behavior:**\r\n<!-- Describe how the bug manifests / how the current features are insufficient. -->\r\nThe documentation for angular input[week] says the input text 'yyyy-Www' is transformed into a Date object. But it can hardly be used as the documentation doesn't say exactly which day of the week, and what time is put in the Date object.\r\n\r\n**Expected / new behavior:**\r\n<!-- Describe what the behavior would be without the bug / how the feature would improve AngularJS -->\r\nThe documentation shall mention what will be the underlying Date object.\r\n\r\n**Minimal reproduction of the problem with instructions:**\r\n<!--\r\nIf the current behavior is a bug or you can illustrate your feature request better with an example,\r\nplease provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:yBpEi4).\r\n-->\r\n\r\n**Angular version:** 1.6.2\r\n<!-- Check whether this is still an issue in the most recent stable or in the snapshot AngularJS version (https://code.angularjs.org/snapshot/) -->\r\n\r\n**Browser:** [all]\r\n<!-- All browsers where this could be reproduced (and Operating System if relevant) -->\r\n\r\n**Anything else:**\r\n<!-- e.g. stacktraces, related issues, suggestions how to fix -->"},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/291248202","html_url":"https://github.com/angular/angular.js/issues/15883#issuecomment-291248202","issue_url":"https://api.github.com/repos/angular/angular.js/issues/15883","id":291248202,"user":{"login":"frederikprijck","id":2146903,"avatar_url":"https://avatars3.githubusercontent.com/u/2146903?v=3","gravatar_id":"","url":"https://api.github.com/users/frederikprijck","html_url":"https://github.com/frederikprijck","followers_url":"https://api.github.com/users/frederikprijck/followers","following_url":"https://api.github.com/users/frederikprijck/following{/other_user}","gists_url":"https://api.github.com/users/frederikprijck/gists{/gist_id}","starred_url":"https://api.github.com/users/frederikprijck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederikprijck/subscriptions","organizations_url":"https://api.github.com/users/frederikprijck/orgs","repos_url":"https://api.github.com/users/frederikprijck/repos","events_url":"https://api.github.com/users/frederikprijck/events{/privacy}","received_events_url":"https://api.github.com/users/frederikprijck/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T19:28:48Z","updated_at":"2017-04-03T19:28:48Z","body":"> I am not 100% sure why we pick Thursday as the day for the Date object, but I suspect it is because it is the only day of the week that is guaranteed to be in the Gragorian calendar year denoted by yyyy.\r\n\r\nBy looking at the ISO spec, it makes perfect sense to pick thursday. As it's possible that any other day of that week (when using thursday to calculate week number) could be in a different month/year (so different Gregorian calendar year as you said)."}}
{"actor":{"display_login":"frederikprijck"}}