{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/ecma262/issues/898","repository_url":"https://api.github.com/repos/tc39/ecma262","labels_url":"https://api.github.com/repos/tc39/ecma262/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/tc39/ecma262/issues/898/comments","events_url":"https://api.github.com/repos/tc39/ecma262/issues/898/events","html_url":"https://github.com/tc39/ecma262/issues/898","id":222359809,"number":898,"title":"Suggest adding method \" format\" to Date.prototype.","user":{"login":"wendux","id":20411648,"avatar_url":"https://avatars2.githubusercontent.com/u/20411648?v=3","gravatar_id":"","url":"https://api.github.com/users/wendux","html_url":"https://github.com/wendux","followers_url":"https://api.github.com/users/wendux/followers","following_url":"https://api.github.com/users/wendux/following{/other_user}","gists_url":"https://api.github.com/users/wendux/gists{/gist_id}","starred_url":"https://api.github.com/users/wendux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendux/subscriptions","organizations_url":"https://api.github.com/users/wendux/orgs","repos_url":"https://api.github.com/users/wendux/repos","events_url":"https://api.github.com/users/wendux/events{/privacy}","received_events_url":"https://api.github.com/users/wendux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-18T09:47:06Z","updated_at":"2017-04-18T14:04:00Z","closed_at":"2017-04-18T13:45:37Z","body":"Since we often need a custom time display format, I suggest adding method \" format\" to Date.prototype , so we can use the time format symbol like other programming language, such as java.  \r\n For example, we can write code like this:\r\n `(new Date()).format(\"yyyy-MM-dd hh:mm:ss\")`\r\n"},"comment":{"url":"https://api.github.com/repos/tc39/ecma262/issues/comments/294854679","html_url":"https://github.com/tc39/ecma262/issues/898#issuecomment-294854679","issue_url":"https://api.github.com/repos/tc39/ecma262/issues/898","id":294854679,"user":{"login":"littledan","id":189835,"avatar_url":"https://avatars0.githubusercontent.com/u/189835?v=3","gravatar_id":"","url":"https://api.github.com/users/littledan","html_url":"https://github.com/littledan","followers_url":"https://api.github.com/users/littledan/followers","following_url":"https://api.github.com/users/littledan/following{/other_user}","gists_url":"https://api.github.com/users/littledan/gists{/gist_id}","starred_url":"https://api.github.com/users/littledan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littledan/subscriptions","organizations_url":"https://api.github.com/users/littledan/orgs","repos_url":"https://api.github.com/users/littledan/repos","events_url":"https://api.github.com/users/littledan/events{/privacy}","received_events_url":"https://api.github.com/users/littledan/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T14:04:00Z","updated_at":"2017-04-18T14:04:00Z","body":"FWIW In the context of the DateTimeFormat, we've discussed the pattern [here](https://github.com/tc39/ecma402/issues/21). cc @zbraniecki @caridy "}}
{"actor":{"display_login":"littledan"}}