{"action":"created","comment":{"url":"https://api.github.com/repos/mathewdgardner/momento/pulls/comments/69932781","id":69932781,"diff_hunk":"@@ -24,8 +24,13 @@ defmodule FormatSpec do\n         {:shared, datetime: %DateTime{Momento.date! | month: 5}}\n       end\n \n-      it \"should replace the MMMM token with the full month name\"\n-      it \"should replace the MMM token with the month abbreviation\"\n+      it \"should replace the MMMM token with the full month name\" do\n+        shared.datetime |> Momento.format(\"MMMM\") |> expect |> to(eql \"May\")\n+      end\n+\n+      it \"should replace the MMM token with the month abbreviation\" do\n+        %DateTime{Momento.date! | month: 6} |> Momento.format(\"MMM\") |> expect |> to(eql \"Jun\")","path":"spec/format_spec.exs","position":11,"original_position":11,"commit_id":"947d0413d0093679a263ed0d6396984bc4e373d4","original_commit_id":"947d0413d0093679a263ed0d6396984bc4e373d4","user":{"login":"mathewdgardner","id":1034552,"avatar_url":"https://avatars.githubusercontent.com/u/1034552?v=3","gravatar_id":"","url":"https://api.github.com/users/mathewdgardner","html_url":"https://github.com/mathewdgardner","followers_url":"https://api.github.com/users/mathewdgardner/followers","following_url":"https://api.github.com/users/mathewdgardner/following{/other_user}","gists_url":"https://api.github.com/users/mathewdgardner/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewdgardner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewdgardner/subscriptions","organizations_url":"https://api.github.com/users/mathewdgardner/orgs","repos_url":"https://api.github.com/users/mathewdgardner/repos","events_url":"https://api.github.com/users/mathewdgardner/events{/privacy}","received_events_url":"https://api.github.com/users/mathewdgardner/received_events","type":"User","site_admin":false},"body":"Can you add expects for all months?","created_at":"2016-07-07T15:50:15Z","updated_at":"2016-07-07T15:50:15Z","html_url":"https://github.com/mathewdgardner/momento/pull/2#discussion_r69932781","pull_request_url":"https://api.github.com/repos/mathewdgardner/momento/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/comments/69932781"},"html":{"href":"https://github.com/mathewdgardner/momento/pull/2#discussion_r69932781"},"pull_request":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mathewdgardner/momento/pulls/2","id":76153772,"html_url":"https://github.com/mathewdgardner/momento/pull/2","diff_url":"https://github.com/mathewdgardner/momento/pull/2.diff","patch_url":"https://github.com/mathewdgardner/momento/pull/2.patch","issue_url":"https://api.github.com/repos/mathewdgardner/momento/issues/2","number":2,"state":"open","locked":false,"title":"Implement format","user":{"login":"vishaldeepak","id":9512872,"avatar_url":"https://avatars.githubusercontent.com/u/9512872?v=3","gravatar_id":"","url":"https://api.github.com/users/vishaldeepak","html_url":"https://github.com/vishaldeepak","followers_url":"https://api.github.com/users/vishaldeepak/followers","following_url":"https://api.github.com/users/vishaldeepak/following{/other_user}","gists_url":"https://api.github.com/users/vishaldeepak/gists{/gist_id}","starred_url":"https://api.github.com/users/vishaldeepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishaldeepak/subscriptions","organizations_url":"https://api.github.com/users/vishaldeepak/orgs","repos_url":"https://api.github.com/users/vishaldeepak/repos","events_url":"https://api.github.com/users/vishaldeepak/events{/privacy}","received_events_url":"https://api.github.com/users/vishaldeepak/received_events","type":"User","site_admin":false},"body":"Implement format for tokens \"MMMM\" and \"MM\"\r\nHad to change `String.replace` to use regex instead of string, since \"MM\" was also matching \"MMMM\" and causing undesired output. ","created_at":"2016-07-04T12:03:51Z","updated_at":"2016-07-07T15:50:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dc148d6b7340524de50a29c8132155654ba3961","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mathewdgardner/momento/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mathewdgardner/momento/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mathewdgardner/momento/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mathewdgardner/momento/issues/2/comments","statuses_url":"https://api.github.com/repos/mathewdgardner/momento/statuses/947d0413d0093679a263ed0d6396984bc4e373d4","head":{"label":"vishaldeepak:implement-format","ref":"implement-format","sha":"947d0413d0093679a263ed0d6396984bc4e373d4","user":{"login":"vishaldeepak","id":9512872,"avatar_url":"https://avatars.githubusercontent.com/u/9512872?v=3","gravatar_id":"","url":"https://api.github.com/users/vishaldeepak","html_url":"https://github.com/vishaldeepak","followers_url":"https://api.github.com/users/vishaldeepak/followers","following_url":"https://api.github.com/users/vishaldeepak/following{/other_user}","gists_url":"https://api.github.com/users/vishaldeepak/gists{/gist_id}","starred_url":"https://api.github.com/users/vishaldeepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishaldeepak/subscriptions","organizations_url":"https://api.github.com/users/vishaldeepak/orgs","repos_url":"https://api.github.com/users/vishaldeepak/repos","events_url":"https://api.github.com/users/vishaldeepak/events{/privacy}","received_events_url":"https://api.github.com/users/vishaldeepak/received_events","type":"User","site_admin":false},"repo":{"id":62461316,"name":"momento","full_name":"vishaldeepak/momento","owner":{"login":"vishaldeepak","id":9512872,"avatar_url":"https://avatars.githubusercontent.com/u/9512872?v=3","gravatar_id":"","url":"https://api.github.com/users/vishaldeepak","html_url":"https://github.com/vishaldeepak","followers_url":"https://api.github.com/users/vishaldeepak/followers","following_url":"https://api.github.com/users/vishaldeepak/following{/other_user}","gists_url":"https://api.github.com/users/vishaldeepak/gists{/gist_id}","starred_url":"https://api.github.com/users/vishaldeepak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishaldeepak/subscriptions","organizations_url":"https://api.github.com/users/vishaldeepak/orgs","repos_url":"https://api.github.com/users/vishaldeepak/repos","events_url":"https://api.github.com/users/vishaldeepak/events{/privacy}","received_events_url":"https://api.github.com/users/vishaldeepak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vishaldeepak/momento","description":"moment.js implemented in Elixir","fork":true,"url":"https://api.github.com/repos/vishaldeepak/momento","forks_url":"https://api.github.com/repos/vishaldeepak/momento/forks","keys_url":"https://api.github.com/repos/vishaldeepak/momento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vishaldeepak/momento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vishaldeepak/momento/teams","hooks_url":"https://api.github.com/repos/vishaldeepak/momento/hooks","issue_events_url":"https://api.github.com/repos/vishaldeepak/momento/issues/events{/number}","events_url":"https://api.github.com/repos/vishaldeepak/momento/events","assignees_url":"https://api.github.com/repos/vishaldeepak/momento/assignees{/user}","branches_url":"https://api.github.com/repos/vishaldeepak/momento/branches{/branch}","tags_url":"https://api.github.com/repos/vishaldeepak/momento/tags","blobs_url":"https://api.github.com/repos/vishaldeepak/momento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vishaldeepak/momento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vishaldeepak/momento/git/refs{/sha}","trees_url":"https://api.github.com/repos/vishaldeepak/momento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vishaldeepak/momento/statuses/{sha}","languages_url":"https://api.github.com/repos/vishaldeepak/momento/languages","stargazers_url":"https://api.github.com/repos/vishaldeepak/momento/stargazers","contributors_url":"https://api.github.com/repos/vishaldeepak/momento/contributors","subscribers_url":"https://api.github.com/repos/vishaldeepak/momento/subscribers","subscription_url":"https://api.github.com/repos/vishaldeepak/momento/subscription","commits_url":"https://api.github.com/repos/vishaldeepak/momento/commits{/sha}","git_commits_url":"https://api.github.com/repos/vishaldeepak/momento/git/commits{/sha}","comments_url":"https://api.github.com/repos/vishaldeepak/momento/comments{/number}","issue_comment_url":"https://api.github.com/repos/vishaldeepak/momento/issues/comments{/number}","contents_url":"https://api.github.com/repos/vishaldeepak/momento/contents/{+path}","compare_url":"https://api.github.com/repos/vishaldeepak/momento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vishaldeepak/momento/merges","archive_url":"https://api.github.com/repos/vishaldeepak/momento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vishaldeepak/momento/downloads","issues_url":"https://api.github.com/repos/vishaldeepak/momento/issues{/number}","pulls_url":"https://api.github.com/repos/vishaldeepak/momento/pulls{/number}","milestones_url":"https://api.github.com/repos/vishaldeepak/momento/milestones{/number}","notifications_url":"https://api.github.com/repos/vishaldeepak/momento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vishaldeepak/momento/labels{/name}","releases_url":"https://api.github.com/repos/vishaldeepak/momento/releases{/id}","deployments_url":"https://api.github.com/repos/vishaldeepak/momento/deployments","created_at":"2016-07-02T17:04:14Z","updated_at":"2016-07-02T17:04:17Z","pushed_at":"2016-07-07T14:13:32Z","git_url":"git://github.com/vishaldeepak/momento.git","ssh_url":"git@github.com:vishaldeepak/momento.git","clone_url":"https://github.com/vishaldeepak/momento.git","svn_url":"https://github.com/vishaldeepak/momento","homepage":"","size":67,"stargazers_count":0,"watchers_count":0,"language":"Elixir","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":"mathewdgardner:master","ref":"master","sha":"edfa8a49180affcf1e85142de03f8594f99ad494","user":{"login":"mathewdgardner","id":1034552,"avatar_url":"https://avatars.githubusercontent.com/u/1034552?v=3","gravatar_id":"","url":"https://api.github.com/users/mathewdgardner","html_url":"https://github.com/mathewdgardner","followers_url":"https://api.github.com/users/mathewdgardner/followers","following_url":"https://api.github.com/users/mathewdgardner/following{/other_user}","gists_url":"https://api.github.com/users/mathewdgardner/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewdgardner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewdgardner/subscriptions","organizations_url":"https://api.github.com/users/mathewdgardner/orgs","repos_url":"https://api.github.com/users/mathewdgardner/repos","events_url":"https://api.github.com/users/mathewdgardner/events{/privacy}","received_events_url":"https://api.github.com/users/mathewdgardner/received_events","type":"User","site_admin":false},"repo":{"id":62184127,"name":"momento","full_name":"mathewdgardner/momento","owner":{"login":"mathewdgardner","id":1034552,"avatar_url":"https://avatars.githubusercontent.com/u/1034552?v=3","gravatar_id":"","url":"https://api.github.com/users/mathewdgardner","html_url":"https://github.com/mathewdgardner","followers_url":"https://api.github.com/users/mathewdgardner/followers","following_url":"https://api.github.com/users/mathewdgardner/following{/other_user}","gists_url":"https://api.github.com/users/mathewdgardner/gists{/gist_id}","starred_url":"https://api.github.com/users/mathewdgardner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathewdgardner/subscriptions","organizations_url":"https://api.github.com/users/mathewdgardner/orgs","repos_url":"https://api.github.com/users/mathewdgardner/repos","events_url":"https://api.github.com/users/mathewdgardner/events{/privacy}","received_events_url":"https://api.github.com/users/mathewdgardner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mathewdgardner/momento","description":"moment.js implemented in Elixir","fork":false,"url":"https://api.github.com/repos/mathewdgardner/momento","forks_url":"https://api.github.com/repos/mathewdgardner/momento/forks","keys_url":"https://api.github.com/repos/mathewdgardner/momento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathewdgardner/momento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathewdgardner/momento/teams","hooks_url":"https://api.github.com/repos/mathewdgardner/momento/hooks","issue_events_url":"https://api.github.com/repos/mathewdgardner/momento/issues/events{/number}","events_url":"https://api.github.com/repos/mathewdgardner/momento/events","assignees_url":"https://api.github.com/repos/mathewdgardner/momento/assignees{/user}","branches_url":"https://api.github.com/repos/mathewdgardner/momento/branches{/branch}","tags_url":"https://api.github.com/repos/mathewdgardner/momento/tags","blobs_url":"https://api.github.com/repos/mathewdgardner/momento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathewdgardner/momento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathewdgardner/momento/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathewdgardner/momento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathewdgardner/momento/statuses/{sha}","languages_url":"https://api.github.com/repos/mathewdgardner/momento/languages","stargazers_url":"https://api.github.com/repos/mathewdgardner/momento/stargazers","contributors_url":"https://api.github.com/repos/mathewdgardner/momento/contributors","subscribers_url":"https://api.github.com/repos/mathewdgardner/momento/subscribers","subscription_url":"https://api.github.com/repos/mathewdgardner/momento/subscription","commits_url":"https://api.github.com/repos/mathewdgardner/momento/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathewdgardner/momento/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathewdgardner/momento/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathewdgardner/momento/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathewdgardner/momento/contents/{+path}","compare_url":"https://api.github.com/repos/mathewdgardner/momento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathewdgardner/momento/merges","archive_url":"https://api.github.com/repos/mathewdgardner/momento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathewdgardner/momento/downloads","issues_url":"https://api.github.com/repos/mathewdgardner/momento/issues{/number}","pulls_url":"https://api.github.com/repos/mathewdgardner/momento/pulls{/number}","milestones_url":"https://api.github.com/repos/mathewdgardner/momento/milestones{/number}","notifications_url":"https://api.github.com/repos/mathewdgardner/momento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathewdgardner/momento/labels{/name}","releases_url":"https://api.github.com/repos/mathewdgardner/momento/releases{/id}","deployments_url":"https://api.github.com/repos/mathewdgardner/momento/deployments","created_at":"2016-06-29T00:56:22Z","updated_at":"2016-07-06T21:39:28Z","pushed_at":"2016-07-07T14:13:33Z","git_url":"git://github.com/mathewdgardner/momento.git","ssh_url":"git@github.com:mathewdgardner/momento.git","clone_url":"https://github.com/mathewdgardner/momento.git","svn_url":"https://github.com/mathewdgardner/momento","homepage":"","size":62,"stargazers_count":12,"watchers_count":12,"language":"Elixir","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/2"},"html":{"href":"https://github.com/mathewdgardner/momento/pull/2"},"issue":{"href":"https://api.github.com/repos/mathewdgardner/momento/issues/2"},"comments":{"href":"https://api.github.com/repos/mathewdgardner/momento/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mathewdgardner/momento/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mathewdgardner/momento/statuses/947d0413d0093679a263ed0d6396984bc4e373d4"}}}}
{"actor":{"display_login":"mathewdgardner"}}