{"action":"created","comment":{"url":"https://api.github.com/repos/ogify/ogify/pulls/comments/41102249","id":41102249,"diff_hunk":"@@ -241,7 +246,7 @@ ogifyApp.controller('ShowOrderModalController', function ($scope, ClickedOrder,\n     };\n     $scope.getExpireDate = function(){\n         var date = new Date(ClickedOrder.order.expireIn);\n-        var months = [\"января\", \"февраля\", \"марта\", \"апреля\", \"мая\", \"июня\", \"июля\", \"августа\", \n+        var months = [\"января\", \"февраля\", \"марта\", \"апреля\", \"мая\", \"июня\", \"июля\", \"августа\",","path":"webclient/libs/js/ogify-app.js","position":81,"original_position":81,"commit_id":"44fa8fa5efa4287c2ba35bb8fca231623b4a45d7","original_commit_id":"44fa8fa5efa4287c2ba35bb8fca231623b4a45d7","user":{"login":"melges-morgen","id":1835443,"avatar_url":"https://avatars.githubusercontent.com/u/1835443?v=3","gravatar_id":"","url":"https://api.github.com/users/melges-morgen","html_url":"https://github.com/melges-morgen","followers_url":"https://api.github.com/users/melges-morgen/followers","following_url":"https://api.github.com/users/melges-morgen/following{/other_user}","gists_url":"https://api.github.com/users/melges-morgen/gists{/gist_id}","starred_url":"https://api.github.com/users/melges-morgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melges-morgen/subscriptions","organizations_url":"https://api.github.com/users/melges-morgen/orgs","repos_url":"https://api.github.com/users/melges-morgen/repos","events_url":"https://api.github.com/users/melges-morgen/events{/privacy}","received_events_url":"https://api.github.com/users/melges-morgen/received_events","type":"User","site_admin":false},"body":"Думаю, тебе нужно переписать эту функцию использовав встроенные в ангуляр инструменты работы с датой, вся функция превратиться в одну строчку: https://docs.angularjs.org/api/ng/filter/date","created_at":"2015-10-04T20:52:43Z","updated_at":"2015-10-04T20:52:43Z","html_url":"https://github.com/ogify/ogify/pull/33#discussion_r41102249","pull_request_url":"https://api.github.com/repos/ogify/ogify/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/ogify/ogify/pulls/comments/41102249"},"html":{"href":"https://github.com/ogify/ogify/pull/33#discussion_r41102249"},"pull_request":{"href":"https://api.github.com/repos/ogify/ogify/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/ogify/ogify/pulls/33","id":46725284,"html_url":"https://github.com/ogify/ogify/pull/33","diff_url":"https://github.com/ogify/ogify/pull/33.diff","patch_url":"https://github.com/ogify/ogify/pull/33.patch","issue_url":"https://api.github.com/repos/ogify/ogify/issues/33","number":33,"state":"open","locked":false,"title":"[DCS-237] Newly created order displaying bug fix. [DCS-227] Showing error message when description or reward is too large is implemented.","user":{"login":"vitaly-emelianov","id":7957526,"avatar_url":"https://avatars.githubusercontent.com/u/7957526?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-emelianov","html_url":"https://github.com/vitaly-emelianov","followers_url":"https://api.github.com/users/vitaly-emelianov/followers","following_url":"https://api.github.com/users/vitaly-emelianov/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-emelianov/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-emelianov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-emelianov/subscriptions","organizations_url":"https://api.github.com/users/vitaly-emelianov/orgs","repos_url":"https://api.github.com/users/vitaly-emelianov/repos","events_url":"https://api.github.com/users/vitaly-emelianov/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-emelianov/received_events","type":"User","site_admin":false},"body":"<h3>Сделано:</h3>\r\n* при успешном создании нового заказа, он отображается на панели заказов без перезагрузки страницы\r\n* при неудачном создании заказа (error response от сервера), в модальном окне создания заказа отображается  сообщение об ошибке\r\n\r\n","created_at":"2015-10-04T13:43:25Z","updated_at":"2015-10-04T20:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d6b5b47df7816f859eedac645233ceda4871898","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ogify/ogify/pulls/33/commits","review_comments_url":"https://api.github.com/repos/ogify/ogify/pulls/33/comments","review_comment_url":"https://api.github.com/repos/ogify/ogify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ogify/ogify/issues/33/comments","statuses_url":"https://api.github.com/repos/ogify/ogify/statuses/44fa8fa5efa4287c2ba35bb8fca231623b4a45d7","head":{"label":"vitaly-emelianov:build_0","ref":"build_0","sha":"44fa8fa5efa4287c2ba35bb8fca231623b4a45d7","user":{"login":"vitaly-emelianov","id":7957526,"avatar_url":"https://avatars.githubusercontent.com/u/7957526?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-emelianov","html_url":"https://github.com/vitaly-emelianov","followers_url":"https://api.github.com/users/vitaly-emelianov/followers","following_url":"https://api.github.com/users/vitaly-emelianov/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-emelianov/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-emelianov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-emelianov/subscriptions","organizations_url":"https://api.github.com/users/vitaly-emelianov/orgs","repos_url":"https://api.github.com/users/vitaly-emelianov/repos","events_url":"https://api.github.com/users/vitaly-emelianov/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-emelianov/received_events","type":"User","site_admin":false},"repo":{"id":43431869,"name":"ogify","full_name":"vitaly-emelianov/ogify","owner":{"login":"vitaly-emelianov","id":7957526,"avatar_url":"https://avatars.githubusercontent.com/u/7957526?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-emelianov","html_url":"https://github.com/vitaly-emelianov","followers_url":"https://api.github.com/users/vitaly-emelianov/followers","following_url":"https://api.github.com/users/vitaly-emelianov/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-emelianov/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-emelianov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-emelianov/subscriptions","organizations_url":"https://api.github.com/users/vitaly-emelianov/orgs","repos_url":"https://api.github.com/users/vitaly-emelianov/repos","events_url":"https://api.github.com/users/vitaly-emelianov/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-emelianov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vitaly-emelianov/ogify","description":"Eat With Benefit","fork":true,"url":"https://api.github.com/repos/vitaly-emelianov/ogify","forks_url":"https://api.github.com/repos/vitaly-emelianov/ogify/forks","keys_url":"https://api.github.com/repos/vitaly-emelianov/ogify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vitaly-emelianov/ogify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vitaly-emelianov/ogify/teams","hooks_url":"https://api.github.com/repos/vitaly-emelianov/ogify/hooks","issue_events_url":"https://api.github.com/repos/vitaly-emelianov/ogify/issues/events{/number}","events_url":"https://api.github.com/repos/vitaly-emelianov/ogify/events","assignees_url":"https://api.github.com/repos/vitaly-emelianov/ogify/assignees{/user}","branches_url":"https://api.github.com/repos/vitaly-emelianov/ogify/branches{/branch}","tags_url":"https://api.github.com/repos/vitaly-emelianov/ogify/tags","blobs_url":"https://api.github.com/repos/vitaly-emelianov/ogify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vitaly-emelianov/ogify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vitaly-emelianov/ogify/git/refs{/sha}","trees_url":"https://api.github.com/repos/vitaly-emelianov/ogify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vitaly-emelianov/ogify/statuses/{sha}","languages_url":"https://api.github.com/repos/vitaly-emelianov/ogify/languages","stargazers_url":"https://api.github.com/repos/vitaly-emelianov/ogify/stargazers","contributors_url":"https://api.github.com/repos/vitaly-emelianov/ogify/contributors","subscribers_url":"https://api.github.com/repos/vitaly-emelianov/ogify/subscribers","subscription_url":"https://api.github.com/repos/vitaly-emelianov/ogify/subscription","commits_url":"https://api.github.com/repos/vitaly-emelianov/ogify/commits{/sha}","git_commits_url":"https://api.github.com/repos/vitaly-emelianov/ogify/git/commits{/sha}","comments_url":"https://api.github.com/repos/vitaly-emelianov/ogify/comments{/number}","issue_comment_url":"https://api.github.com/repos/vitaly-emelianov/ogify/issues/comments{/number}","contents_url":"https://api.github.com/repos/vitaly-emelianov/ogify/contents/{+path}","compare_url":"https://api.github.com/repos/vitaly-emelianov/ogify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vitaly-emelianov/ogify/merges","archive_url":"https://api.github.com/repos/vitaly-emelianov/ogify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vitaly-emelianov/ogify/downloads","issues_url":"https://api.github.com/repos/vitaly-emelianov/ogify/issues{/number}","pulls_url":"https://api.github.com/repos/vitaly-emelianov/ogify/pulls{/number}","milestones_url":"https://api.github.com/repos/vitaly-emelianov/ogify/milestones{/number}","notifications_url":"https://api.github.com/repos/vitaly-emelianov/ogify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vitaly-emelianov/ogify/labels{/name}","releases_url":"https://api.github.com/repos/vitaly-emelianov/ogify/releases{/id}","created_at":"2015-09-30T12:35:24Z","updated_at":"2015-09-30T12:35:26Z","pushed_at":"2015-10-04T20:36:15Z","git_url":"git://github.com/vitaly-emelianov/ogify.git","ssh_url":"git@github.com:vitaly-emelianov/ogify.git","clone_url":"https://github.com/vitaly-emelianov/ogify.git","svn_url":"https://github.com/vitaly-emelianov/ogify","homepage":null,"size":30217,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ogify:build_0","ref":"build_0","sha":"2e3186aadcb8486fe96a7f9e4c62abd6172ff644","user":{"login":"ogify","id":14138153,"avatar_url":"https://avatars.githubusercontent.com/u/14138153?v=3","gravatar_id":"","url":"https://api.github.com/users/ogify","html_url":"https://github.com/ogify","followers_url":"https://api.github.com/users/ogify/followers","following_url":"https://api.github.com/users/ogify/following{/other_user}","gists_url":"https://api.github.com/users/ogify/gists{/gist_id}","starred_url":"https://api.github.com/users/ogify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogify/subscriptions","organizations_url":"https://api.github.com/users/ogify/orgs","repos_url":"https://api.github.com/users/ogify/repos","events_url":"https://api.github.com/users/ogify/events{/privacy}","received_events_url":"https://api.github.com/users/ogify/received_events","type":"Organization","site_admin":false},"repo":{"id":30619500,"name":"ogify","full_name":"ogify/ogify","owner":{"login":"ogify","id":14138153,"avatar_url":"https://avatars.githubusercontent.com/u/14138153?v=3","gravatar_id":"","url":"https://api.github.com/users/ogify","html_url":"https://github.com/ogify","followers_url":"https://api.github.com/users/ogify/followers","following_url":"https://api.github.com/users/ogify/following{/other_user}","gists_url":"https://api.github.com/users/ogify/gists{/gist_id}","starred_url":"https://api.github.com/users/ogify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogify/subscriptions","organizations_url":"https://api.github.com/users/ogify/orgs","repos_url":"https://api.github.com/users/ogify/repos","events_url":"https://api.github.com/users/ogify/events{/privacy}","received_events_url":"https://api.github.com/users/ogify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ogify/ogify","description":"Eat With Benefit","fork":false,"url":"https://api.github.com/repos/ogify/ogify","forks_url":"https://api.github.com/repos/ogify/ogify/forks","keys_url":"https://api.github.com/repos/ogify/ogify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ogify/ogify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ogify/ogify/teams","hooks_url":"https://api.github.com/repos/ogify/ogify/hooks","issue_events_url":"https://api.github.com/repos/ogify/ogify/issues/events{/number}","events_url":"https://api.github.com/repos/ogify/ogify/events","assignees_url":"https://api.github.com/repos/ogify/ogify/assignees{/user}","branches_url":"https://api.github.com/repos/ogify/ogify/branches{/branch}","tags_url":"https://api.github.com/repos/ogify/ogify/tags","blobs_url":"https://api.github.com/repos/ogify/ogify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ogify/ogify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ogify/ogify/git/refs{/sha}","trees_url":"https://api.github.com/repos/ogify/ogify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ogify/ogify/statuses/{sha}","languages_url":"https://api.github.com/repos/ogify/ogify/languages","stargazers_url":"https://api.github.com/repos/ogify/ogify/stargazers","contributors_url":"https://api.github.com/repos/ogify/ogify/contributors","subscribers_url":"https://api.github.com/repos/ogify/ogify/subscribers","subscription_url":"https://api.github.com/repos/ogify/ogify/subscription","commits_url":"https://api.github.com/repos/ogify/ogify/commits{/sha}","git_commits_url":"https://api.github.com/repos/ogify/ogify/git/commits{/sha}","comments_url":"https://api.github.com/repos/ogify/ogify/comments{/number}","issue_comment_url":"https://api.github.com/repos/ogify/ogify/issues/comments{/number}","contents_url":"https://api.github.com/repos/ogify/ogify/contents/{+path}","compare_url":"https://api.github.com/repos/ogify/ogify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ogify/ogify/merges","archive_url":"https://api.github.com/repos/ogify/ogify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ogify/ogify/downloads","issues_url":"https://api.github.com/repos/ogify/ogify/issues{/number}","pulls_url":"https://api.github.com/repos/ogify/ogify/pulls{/number}","milestones_url":"https://api.github.com/repos/ogify/ogify/milestones{/number}","notifications_url":"https://api.github.com/repos/ogify/ogify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ogify/ogify/labels{/name}","releases_url":"https://api.github.com/repos/ogify/ogify/releases{/id}","created_at":"2015-02-10T23:07:28Z","updated_at":"2015-10-01T05:58:37Z","pushed_at":"2015-10-04T20:36:15Z","git_url":"git://github.com/ogify/ogify.git","ssh_url":"git@github.com:ogify/ogify.git","clone_url":"https://github.com/ogify/ogify.git","svn_url":"https://github.com/ogify/ogify","homepage":null,"size":31173,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":8,"forks":5,"open_issues":8,"watchers":1,"default_branch":"build_0"}},"_links":{"self":{"href":"https://api.github.com/repos/ogify/ogify/pulls/33"},"html":{"href":"https://github.com/ogify/ogify/pull/33"},"issue":{"href":"https://api.github.com/repos/ogify/ogify/issues/33"},"comments":{"href":"https://api.github.com/repos/ogify/ogify/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/ogify/ogify/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/ogify/ogify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ogify/ogify/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/ogify/ogify/statuses/44fa8fa5efa4287c2ba35bb8fca231623b4a45d7"}}}}