GitHub PullRequestReviewCommentEvent at 2014-12-19 13:49:39
Repository: better-dateinput-polyfill
Actor: chemerisuk
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/comments/22105034","id":22105034,"diff_hunk":"@@ -34,6 +34,41 @@ Then append the following script on your page:\n <script src=\"bower_components/better-dateinput-polyfill/dist/better-dateinput-polyfill.js\"></script>\n ```\n \n+## Custom formats\n+Displayed date can be formatted using a `data-format` attribute on the `<input type=\"date\">`. For example:\n+\n+```html\n+<input type=\"date\" data-format=\"EEE, MMMM dd'th' yyyy\">\n+```\n+\n+This will display the selected date like \"Monday, December 8th 2014\" on the input.\n+\n+If `data-format` is not specified, date is formatted using the pattern \"E, dd MMM yyyy\".\n+\n+Possible parameters for the format are:\n+\n+|Letter |Date Component                                   |Presentation |Examples      |\n+|-------|-------------------------------------------------|-------------|--------------|\n+|G      |Era designator                                   |Text         |AD            |\n+|y      |Year                                             |Year         |1996; 96      |\n+|M      |Month in year                                    |Month        |July; Jul; 07 |","path":"README.md","position":35,"original_position":35,"commit_id":"f15d0b63190edc595bf49970f7874a26d13bc928","original_commit_id":"f15d0b63190edc595bf49970f7874a26d13bc928","user":{"login":"chemerisuk","id":274044,"avatar_url":"https://avatars.githubusercontent.com/u/274044?v=3","gravatar_id":"","url":"https://api.github.com/users/chemerisuk","html_url":"https://github.com/chemerisuk","followers_url":"https://api.github.com/users/chemerisuk/followers","following_url":"https://api.github.com/users/chemerisuk/following{/other_user}","gists_url":"https://api.github.com/users/chemerisuk/gists{/gist_id}","starred_url":"https://api.github.com/users/chemerisuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemerisuk/subscriptions","organizations_url":"https://api.github.com/users/chemerisuk/orgs","repos_url":"https://api.github.com/users/chemerisuk/repos","events_url":"https://api.github.com/users/chemerisuk/events{/privacy}","received_events_url":"https://api.github.com/users/chemerisuk/received_events","type":"User","site_admin":false},"body":"July; Jul; 07; 7","created_at":"2014-12-19T13:49:39Z","updated_at":"2014-12-19T13:49:39Z","html_url":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24#discussion_r22105034","pull_request_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/comments/22105034"},"html":{"href":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24#discussion_r22105034"},"pull_request":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24","id":26370157,"html_url":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24","diff_url":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24.diff","patch_url":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24.patch","issue_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/24","number":24,"state":"open","locked":false,"title":"Documentation about formatting","user":{"login":"luiz","id":46065,"avatar_url":"https://avatars.githubusercontent.com/u/46065?v=3","gravatar_id":"","url":"https://api.github.com/users/luiz","html_url":"https://github.com/luiz","followers_url":"https://api.github.com/users/luiz/followers","following_url":"https://api.github.com/users/luiz/following{/other_user}","gists_url":"https://api.github.com/users/luiz/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz/subscriptions","organizations_url":"https://api.github.com/users/luiz/orgs","repos_url":"https://api.github.com/users/luiz/repos","events_url":"https://api.github.com/users/luiz/events{/privacy}","received_events_url":"https://api.github.com/users/luiz/received_events","type":"User","site_admin":false},"body":"Adds a section about formatting on README. Still needs an example in live demo, but it's in another branch, so I will send it on another pull request.","created_at":"2014-12-19T13:08:05Z","updated_at":"2014-12-19T13:49:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee0564f07f39b59039ef364262e0ea98853030eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24/commits","review_comments_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24/comments","review_comment_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/comments/{number}","comments_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/24/comments","statuses_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/statuses/f15d0b63190edc595bf49970f7874a26d13bc928","head":{"label":"luiz:master","ref":"master","sha":"f15d0b63190edc595bf49970f7874a26d13bc928","user":{"login":"luiz","id":46065,"avatar_url":"https://avatars.githubusercontent.com/u/46065?v=3","gravatar_id":"","url":"https://api.github.com/users/luiz","html_url":"https://github.com/luiz","followers_url":"https://api.github.com/users/luiz/followers","following_url":"https://api.github.com/users/luiz/following{/other_user}","gists_url":"https://api.github.com/users/luiz/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz/subscriptions","organizations_url":"https://api.github.com/users/luiz/orgs","repos_url":"https://api.github.com/users/luiz/repos","events_url":"https://api.github.com/users/luiz/events{/privacy}","received_events_url":"https://api.github.com/users/luiz/received_events","type":"User","site_admin":false},"repo":{"id":25465241,"name":"better-dateinput-polyfill","full_name":"luiz/better-dateinput-polyfill","owner":{"login":"luiz","id":46065,"avatar_url":"https://avatars.githubusercontent.com/u/46065?v=3","gravatar_id":"","url":"https://api.github.com/users/luiz","html_url":"https://github.com/luiz","followers_url":"https://api.github.com/users/luiz/followers","following_url":"https://api.github.com/users/luiz/following{/other_user}","gists_url":"https://api.github.com/users/luiz/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz/subscriptions","organizations_url":"https://api.github.com/users/luiz/orgs","repos_url":"https://api.github.com/users/luiz/repos","events_url":"https://api.github.com/users/luiz/events{/privacy}","received_events_url":"https://api.github.com/users/luiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luiz/better-dateinput-polyfill","description":"input[type=date] polyfill for better-dom","fork":true,"url":"https://api.github.com/repos/luiz/better-dateinput-polyfill","forks_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/forks","keys_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/teams","hooks_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/hooks","issue_events_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/issues/events{/number}","events_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/events","assignees_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/assignees{/user}","branches_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/branches{/branch}","tags_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/tags","blobs_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/git/refs{/sha}","trees_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/statuses/{sha}","languages_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/languages","stargazers_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/stargazers","contributors_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/contributors","subscribers_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/subscribers","subscription_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/subscription","commits_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/commits{/sha}","git_commits_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/git/commits{/sha}","comments_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/comments{/number}","issue_comment_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/issues/comments/{number}","contents_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/contents/{+path}","compare_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/merges","archive_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/downloads","issues_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/issues{/number}","pulls_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/pulls{/number}","milestones_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/milestones{/number}","notifications_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/labels{/name}","releases_url":"https://api.github.com/repos/luiz/better-dateinput-polyfill/releases{/id}","created_at":"2014-10-20T12:28:32Z","updated_at":"2014-12-19T13:06:07Z","pushed_at":"2014-12-19T13:23:26Z","git_url":"git://github.com/luiz/better-dateinput-polyfill.git","ssh_url":"git@github.com:luiz/better-dateinput-polyfill.git","clone_url":"https://github.com/luiz/better-dateinput-polyfill.git","svn_url":"https://github.com/luiz/better-dateinput-polyfill","homepage":"http://chemerisuk.github.io/better-dateinput-polyfill/","size":695,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chemerisuk:master","ref":"master","sha":"f02ec1e176cfc716abeffa035318a01e0bf30532","user":{"login":"chemerisuk","id":274044,"avatar_url":"https://avatars.githubusercontent.com/u/274044?v=3","gravatar_id":"","url":"https://api.github.com/users/chemerisuk","html_url":"https://github.com/chemerisuk","followers_url":"https://api.github.com/users/chemerisuk/followers","following_url":"https://api.github.com/users/chemerisuk/following{/other_user}","gists_url":"https://api.github.com/users/chemerisuk/gists{/gist_id}","starred_url":"https://api.github.com/users/chemerisuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemerisuk/subscriptions","organizations_url":"https://api.github.com/users/chemerisuk/orgs","repos_url":"https://api.github.com/users/chemerisuk/repos","events_url":"https://api.github.com/users/chemerisuk/events{/privacy}","received_events_url":"https://api.github.com/users/chemerisuk/received_events","type":"User","site_admin":false},"repo":{"id":9958784,"name":"better-dateinput-polyfill","full_name":"chemerisuk/better-dateinput-polyfill","owner":{"login":"chemerisuk","id":274044,"avatar_url":"https://avatars.githubusercontent.com/u/274044?v=3","gravatar_id":"","url":"https://api.github.com/users/chemerisuk","html_url":"https://github.com/chemerisuk","followers_url":"https://api.github.com/users/chemerisuk/followers","following_url":"https://api.github.com/users/chemerisuk/following{/other_user}","gists_url":"https://api.github.com/users/chemerisuk/gists{/gist_id}","starred_url":"https://api.github.com/users/chemerisuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemerisuk/subscriptions","organizations_url":"https://api.github.com/users/chemerisuk/orgs","repos_url":"https://api.github.com/users/chemerisuk/repos","events_url":"https://api.github.com/users/chemerisuk/events{/privacy}","received_events_url":"https://api.github.com/users/chemerisuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chemerisuk/better-dateinput-polyfill","description":"input[type=date] polyfill for better-dom","fork":false,"url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill","forks_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/forks","keys_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/teams","hooks_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/hooks","issue_events_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/events{/number}","events_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/events","assignees_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/assignees{/user}","branches_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/branches{/branch}","tags_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/tags","blobs_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/git/refs{/sha}","trees_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/statuses/{sha}","languages_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/languages","stargazers_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/stargazers","contributors_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/contributors","subscribers_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/subscribers","subscription_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/subscription","commits_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/commits{/sha}","git_commits_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/git/commits{/sha}","comments_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/comments{/number}","issue_comment_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/comments/{number}","contents_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/contents/{+path}","compare_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/merges","archive_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/downloads","issues_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues{/number}","pulls_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls{/number}","milestones_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/milestones{/number}","notifications_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/labels{/name}","releases_url":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/releases{/id}","created_at":"2013-05-09T12:30:04Z","updated_at":"2014-12-18T12:16:42Z","pushed_at":"2014-12-18T12:16:41Z","git_url":"git://github.com/chemerisuk/better-dateinput-polyfill.git","ssh_url":"git@github.com:chemerisuk/better-dateinput-polyfill.git","clone_url":"https://github.com/chemerisuk/better-dateinput-polyfill.git","svn_url":"https://github.com/chemerisuk/better-dateinput-polyfill","homepage":"http://chemerisuk.github.io/better-dateinput-polyfill/","size":1182,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24"},"html":{"href":"https://github.com/chemerisuk/better-dateinput-polyfill/pull/24"},"issue":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/24"},"comments":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/chemerisuk/better-dateinput-polyfill/statuses/f15d0b63190edc595bf49970f7874a26d13bc928"}}}}