{"action":"created","issue":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/174","repository_url":"https://api.github.com/repos/malcommac/SwiftDate","labels_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/174/comments","events_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/174/events","html_url":"https://github.com/malcommac/SwiftDate/issues/174","id":138139487,"number":174,"title":"toNaturalString & maxUnits = 1 sometimes shows 2 units ","user":{"login":"owenbirdsall","id":11388290,"avatar_url":"https://avatars.githubusercontent.com/u/11388290?v=3","gravatar_id":"","url":"https://api.github.com/users/owenbirdsall","html_url":"https://github.com/owenbirdsall","followers_url":"https://api.github.com/users/owenbirdsall/followers","following_url":"https://api.github.com/users/owenbirdsall/following{/other_user}","gists_url":"https://api.github.com/users/owenbirdsall/gists{/gist_id}","starred_url":"https://api.github.com/users/owenbirdsall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owenbirdsall/subscriptions","organizations_url":"https://api.github.com/users/owenbirdsall/orgs","repos_url":"https://api.github.com/users/owenbirdsall/repos","events_url":"https://api.github.com/users/owenbirdsall/events{/privacy}","received_events_url":"https://api.github.com/users/owenbirdsall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-03T10:32:32Z","updated_at":"2016-03-06T16:24:21Z","closed_at":"2016-03-06T16:24:21Z","body":"When the difference is 8 days,  it will show \"1 week, 1 day\" instead of \"1 week\" or \"8 days\""},"comment":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/comments/192925941","html_url":"https://github.com/malcommac/SwiftDate/issues/174#issuecomment-192925941","issue_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/174","id":192925941,"user":{"login":"malcommac","id":235645,"avatar_url":"https://avatars.githubusercontent.com/u/235645?v=3","gravatar_id":"","url":"https://api.github.com/users/malcommac","html_url":"https://github.com/malcommac","followers_url":"https://api.github.com/users/malcommac/followers","following_url":"https://api.github.com/users/malcommac/following{/other_user}","gists_url":"https://api.github.com/users/malcommac/gists{/gist_id}","starred_url":"https://api.github.com/users/malcommac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcommac/subscriptions","organizations_url":"https://api.github.com/users/malcommac/orgs","repos_url":"https://api.github.com/users/malcommac/repos","events_url":"https://api.github.com/users/malcommac/events{/privacy}","received_events_url":"https://api.github.com/users/malcommac/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T16:24:21Z","updated_at":"2016-03-06T16:24:21Z","body":"toNaturalString now uses NSDateComponentsFormatter but it will be replaced soon as the new formatter functions will come to a stable release. More info about that are available at this thread: https://github.com/malcommac/SwiftDate/issues/168.\r\nYou can contribuite with your opinion; we will discuss them. At this time maxUnits only specify the non-zero unit style you want to show in the output string."}}