{"action":"opened","number":1420,"pull_request":{"url":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420","id":27086156,"html_url":"https://github.com/mgcrea/angular-strap/pull/1420","diff_url":"https://github.com/mgcrea/angular-strap/pull/1420.diff","patch_url":"https://github.com/mgcrea/angular-strap/pull/1420.patch","issue_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/1420","number":1420,"state":"open","locked":false,"title":"Add directive to force format on datepicker inputs","user":{"login":"mmouterde","id":733538,"avatar_url":"https://avatars.githubusercontent.com/u/733538?v=3","gravatar_id":"","url":"https://api.github.com/users/mmouterde","html_url":"https://github.com/mmouterde","followers_url":"https://api.github.com/users/mmouterde/followers","following_url":"https://api.github.com/users/mmouterde/following{/other_user}","gists_url":"https://api.github.com/users/mmouterde/gists{/gist_id}","starred_url":"https://api.github.com/users/mmouterde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmouterde/subscriptions","organizations_url":"https://api.github.com/users/mmouterde/orgs","repos_url":"https://api.github.com/users/mmouterde/repos","events_url":"https://api.github.com/users/mmouterde/events{/privacy}","received_events_url":"https://api.github.com/users/mmouterde/received_events","type":"User","site_admin":false},"body":"inspirated by https://github.com/AlphaGit/ng-pattern-restrict modified to autocomplete and fit with bsDatePicker dateFormat.\r\nWork with dateFormat pattern EXCEPTED for those that are not mask (one to one characters) :\r\n=> Do not work with these pattern : 'y','MMMM', 'MMM', 'M', 'd', 'EEEE', 'EEE', 'H', 'h', 'm', 's','a','Z','w'\r\n=> work with these pattern : 'yy','yyyy', 'MM', 'dd', 'HH', 'hh', 'mm', 'ss', 'sss','ww'\r\n=> work with localizable formats with the same limits.","created_at":"2015-01-09T08:35:15Z","updated_at":"2015-01-09T08:35:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420/commits","review_comments_url":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420/comments","review_comment_url":"https://api.github.com/repos/mgcrea/angular-strap/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/1420/comments","statuses_url":"https://api.github.com/repos/mgcrea/angular-strap/statuses/3427af685d41a2be1e10f442a02f60497e30bb58","head":{"label":"mmouterde:master","ref":"master","sha":"3427af685d41a2be1e10f442a02f60497e30bb58","user":{"login":"mmouterde","id":733538,"avatar_url":"https://avatars.githubusercontent.com/u/733538?v=3","gravatar_id":"","url":"https://api.github.com/users/mmouterde","html_url":"https://github.com/mmouterde","followers_url":"https://api.github.com/users/mmouterde/followers","following_url":"https://api.github.com/users/mmouterde/following{/other_user}","gists_url":"https://api.github.com/users/mmouterde/gists{/gist_id}","starred_url":"https://api.github.com/users/mmouterde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmouterde/subscriptions","organizations_url":"https://api.github.com/users/mmouterde/orgs","repos_url":"https://api.github.com/users/mmouterde/repos","events_url":"https://api.github.com/users/mmouterde/events{/privacy}","received_events_url":"https://api.github.com/users/mmouterde/received_events","type":"User","site_admin":false},"repo":{"id":27814881,"name":"angular-strap","full_name":"mmouterde/angular-strap","owner":{"login":"mmouterde","id":733538,"avatar_url":"https://avatars.githubusercontent.com/u/733538?v=3","gravatar_id":"","url":"https://api.github.com/users/mmouterde","html_url":"https://github.com/mmouterde","followers_url":"https://api.github.com/users/mmouterde/followers","following_url":"https://api.github.com/users/mmouterde/following{/other_user}","gists_url":"https://api.github.com/users/mmouterde/gists{/gist_id}","starred_url":"https://api.github.com/users/mmouterde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmouterde/subscriptions","organizations_url":"https://api.github.com/users/mmouterde/orgs","repos_url":"https://api.github.com/users/mmouterde/repos","events_url":"https://api.github.com/users/mmouterde/events{/privacy}","received_events_url":"https://api.github.com/users/mmouterde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mmouterde/angular-strap","description":"AngularJS 1.2+ native directives for Bootstrap 3.","fork":true,"url":"https://api.github.com/repos/mmouterde/angular-strap","forks_url":"https://api.github.com/repos/mmouterde/angular-strap/forks","keys_url":"https://api.github.com/repos/mmouterde/angular-strap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mmouterde/angular-strap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mmouterde/angular-strap/teams","hooks_url":"https://api.github.com/repos/mmouterde/angular-strap/hooks","issue_events_url":"https://api.github.com/repos/mmouterde/angular-strap/issues/events{/number}","events_url":"https://api.github.com/repos/mmouterde/angular-strap/events","assignees_url":"https://api.github.com/repos/mmouterde/angular-strap/assignees{/user}","branches_url":"https://api.github.com/repos/mmouterde/angular-strap/branches{/branch}","tags_url":"https://api.github.com/repos/mmouterde/angular-strap/tags","blobs_url":"https://api.github.com/repos/mmouterde/angular-strap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mmouterde/angular-strap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mmouterde/angular-strap/git/refs{/sha}","trees_url":"https://api.github.com/repos/mmouterde/angular-strap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mmouterde/angular-strap/statuses/{sha}","languages_url":"https://api.github.com/repos/mmouterde/angular-strap/languages","stargazers_url":"https://api.github.com/repos/mmouterde/angular-strap/stargazers","contributors_url":"https://api.github.com/repos/mmouterde/angular-strap/contributors","subscribers_url":"https://api.github.com/repos/mmouterde/angular-strap/subscribers","subscription_url":"https://api.github.com/repos/mmouterde/angular-strap/subscription","commits_url":"https://api.github.com/repos/mmouterde/angular-strap/commits{/sha}","git_commits_url":"https://api.github.com/repos/mmouterde/angular-strap/git/commits{/sha}","comments_url":"https://api.github.com/repos/mmouterde/angular-strap/comments{/number}","issue_comment_url":"https://api.github.com/repos/mmouterde/angular-strap/issues/comments/{number}","contents_url":"https://api.github.com/repos/mmouterde/angular-strap/contents/{+path}","compare_url":"https://api.github.com/repos/mmouterde/angular-strap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mmouterde/angular-strap/merges","archive_url":"https://api.github.com/repos/mmouterde/angular-strap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mmouterde/angular-strap/downloads","issues_url":"https://api.github.com/repos/mmouterde/angular-strap/issues{/number}","pulls_url":"https://api.github.com/repos/mmouterde/angular-strap/pulls{/number}","milestones_url":"https://api.github.com/repos/mmouterde/angular-strap/milestones{/number}","notifications_url":"https://api.github.com/repos/mmouterde/angular-strap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mmouterde/angular-strap/labels{/name}","releases_url":"https://api.github.com/repos/mmouterde/angular-strap/releases{/id}","created_at":"2014-12-10T10:36:52Z","updated_at":"2015-01-09T08:34:02Z","pushed_at":"2015-01-09T08:34:02Z","git_url":"git://github.com/mmouterde/angular-strap.git","ssh_url":"git@github.com:mmouterde/angular-strap.git","clone_url":"https://github.com/mmouterde/angular-strap.git","svn_url":"https://github.com/mmouterde/angular-strap","homepage":"mgcrea.github.io/angular-strap","size":5608,"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":"mgcrea:master","ref":"master","sha":"c9d454afc2ae38f5fa36eadbc61b947981c925f5","user":{"login":"mgcrea","id":108273,"avatar_url":"https://avatars.githubusercontent.com/u/108273?v=3","gravatar_id":"","url":"https://api.github.com/users/mgcrea","html_url":"https://github.com/mgcrea","followers_url":"https://api.github.com/users/mgcrea/followers","following_url":"https://api.github.com/users/mgcrea/following{/other_user}","gists_url":"https://api.github.com/users/mgcrea/gists{/gist_id}","starred_url":"https://api.github.com/users/mgcrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgcrea/subscriptions","organizations_url":"https://api.github.com/users/mgcrea/orgs","repos_url":"https://api.github.com/users/mgcrea/repos","events_url":"https://api.github.com/users/mgcrea/events{/privacy}","received_events_url":"https://api.github.com/users/mgcrea/received_events","type":"User","site_admin":false},"repo":{"id":5718947,"name":"angular-strap","full_name":"mgcrea/angular-strap","owner":{"login":"mgcrea","id":108273,"avatar_url":"https://avatars.githubusercontent.com/u/108273?v=3","gravatar_id":"","url":"https://api.github.com/users/mgcrea","html_url":"https://github.com/mgcrea","followers_url":"https://api.github.com/users/mgcrea/followers","following_url":"https://api.github.com/users/mgcrea/following{/other_user}","gists_url":"https://api.github.com/users/mgcrea/gists{/gist_id}","starred_url":"https://api.github.com/users/mgcrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgcrea/subscriptions","organizations_url":"https://api.github.com/users/mgcrea/orgs","repos_url":"https://api.github.com/users/mgcrea/repos","events_url":"https://api.github.com/users/mgcrea/events{/privacy}","received_events_url":"https://api.github.com/users/mgcrea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgcrea/angular-strap","description":"AngularJS 1.2+ native directives for Bootstrap 3.","fork":false,"url":"https://api.github.com/repos/mgcrea/angular-strap","forks_url":"https://api.github.com/repos/mgcrea/angular-strap/forks","keys_url":"https://api.github.com/repos/mgcrea/angular-strap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgcrea/angular-strap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgcrea/angular-strap/teams","hooks_url":"https://api.github.com/repos/mgcrea/angular-strap/hooks","issue_events_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/events{/number}","events_url":"https://api.github.com/repos/mgcrea/angular-strap/events","assignees_url":"https://api.github.com/repos/mgcrea/angular-strap/assignees{/user}","branches_url":"https://api.github.com/repos/mgcrea/angular-strap/branches{/branch}","tags_url":"https://api.github.com/repos/mgcrea/angular-strap/tags","blobs_url":"https://api.github.com/repos/mgcrea/angular-strap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgcrea/angular-strap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgcrea/angular-strap/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgcrea/angular-strap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgcrea/angular-strap/statuses/{sha}","languages_url":"https://api.github.com/repos/mgcrea/angular-strap/languages","stargazers_url":"https://api.github.com/repos/mgcrea/angular-strap/stargazers","contributors_url":"https://api.github.com/repos/mgcrea/angular-strap/contributors","subscribers_url":"https://api.github.com/repos/mgcrea/angular-strap/subscribers","subscription_url":"https://api.github.com/repos/mgcrea/angular-strap/subscription","commits_url":"https://api.github.com/repos/mgcrea/angular-strap/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgcrea/angular-strap/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgcrea/angular-strap/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/comments/{number}","contents_url":"https://api.github.com/repos/mgcrea/angular-strap/contents/{+path}","compare_url":"https://api.github.com/repos/mgcrea/angular-strap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgcrea/angular-strap/merges","archive_url":"https://api.github.com/repos/mgcrea/angular-strap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgcrea/angular-strap/downloads","issues_url":"https://api.github.com/repos/mgcrea/angular-strap/issues{/number}","pulls_url":"https://api.github.com/repos/mgcrea/angular-strap/pulls{/number}","milestones_url":"https://api.github.com/repos/mgcrea/angular-strap/milestones{/number}","notifications_url":"https://api.github.com/repos/mgcrea/angular-strap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgcrea/angular-strap/labels{/name}","releases_url":"https://api.github.com/repos/mgcrea/angular-strap/releases{/id}","created_at":"2012-09-07T15:50:43Z","updated_at":"2015-01-09T05:15:08Z","pushed_at":"2015-01-07T21:26:27Z","git_url":"git://github.com/mgcrea/angular-strap.git","ssh_url":"git@github.com:mgcrea/angular-strap.git","clone_url":"https://github.com/mgcrea/angular-strap.git","svn_url":"https://github.com/mgcrea/angular-strap","homepage":"mgcrea.github.io/angular-strap","size":14963,"stargazers_count":4691,"watchers_count":4691,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1031,"mirror_url":null,"open_issues_count":261,"forks":1031,"open_issues":261,"watchers":4691,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420"},"html":{"href":"https://github.com/mgcrea/angular-strap/pull/1420"},"issue":{"href":"https://api.github.com/repos/mgcrea/angular-strap/issues/1420"},"comments":{"href":"https://api.github.com/repos/mgcrea/angular-strap/issues/1420/comments"},"review_comments":{"href":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420/comments"},"review_comment":{"href":"https://api.github.com/repos/mgcrea/angular-strap/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mgcrea/angular-strap/pulls/1420/commits"},"statuses":{"href":"https://api.github.com/repos/mgcrea/angular-strap/statuses/3427af685d41a2be1e10f442a02f60497e30bb58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":150,"deletions":0,"changed_files":1}}