{"action":"created","issue":{"url":"https://api.github.com/repos/gf3/moment-range/issues/68","repository_url":"https://api.github.com/repos/gf3/moment-range","labels_url":"https://api.github.com/repos/gf3/moment-range/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/gf3/moment-range/issues/68/comments","events_url":"https://api.github.com/repos/gf3/moment-range/issues/68/events","html_url":"https://github.com/gf3/moment-range/issues/68","id":63825168,"number":68,"title":"Can't iterate a range in reverse order","user":{"login":"globexdesigns","id":226640,"avatar_url":"https://avatars.githubusercontent.com/u/226640?v=3","gravatar_id":"","url":"https://api.github.com/users/globexdesigns","html_url":"https://github.com/globexdesigns","followers_url":"https://api.github.com/users/globexdesigns/followers","following_url":"https://api.github.com/users/globexdesigns/following{/other_user}","gists_url":"https://api.github.com/users/globexdesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/globexdesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globexdesigns/subscriptions","organizations_url":"https://api.github.com/users/globexdesigns/orgs","repos_url":"https://api.github.com/users/globexdesigns/repos","events_url":"https://api.github.com/users/globexdesigns/events{/privacy}","received_events_url":"https://api.github.com/users/globexdesigns/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gf3/moment-range/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"gf3","id":18397,"avatar_url":"https://avatars.githubusercontent.com/u/18397?v=3","gravatar_id":"","url":"https://api.github.com/users/gf3","html_url":"https://github.com/gf3","followers_url":"https://api.github.com/users/gf3/followers","following_url":"https://api.github.com/users/gf3/following{/other_user}","gists_url":"https://api.github.com/users/gf3/gists{/gist_id}","starred_url":"https://api.github.com/users/gf3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gf3/subscriptions","organizations_url":"https://api.github.com/users/gf3/orgs","repos_url":"https://api.github.com/users/gf3/repos","events_url":"https://api.github.com/users/gf3/events{/privacy}","received_events_url":"https://api.github.com/users/gf3/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-23T20:32:13Z","updated_at":"2016-03-30T12:58:04Z","closed_at":null,"body":"I want to iterate over a date range from latest to earliest date, but this doesn't seem to work:\r\n\r\n```\r\nvar start = moment(\"2011-11-27\", \"YYYY-MM-DD\");\r\nvar end   = moment(\"2011-04-15\", \"YYYY-MM-DD\");\r\nvar range = moment().range(start, end);\r\nrange.by('days', function (day) {\r\n\t// Never get's called. :(\r\n\tconsole.log(day)\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/gf3/moment-range/issues/comments/203420012","html_url":"https://github.com/gf3/moment-range/issues/68#issuecomment-203420012","issue_url":"https://api.github.com/repos/gf3/moment-range/issues/68","id":203420012,"user":{"login":"NGMarmaduke","id":1636241,"avatar_url":"https://avatars.githubusercontent.com/u/1636241?v=3","gravatar_id":"","url":"https://api.github.com/users/NGMarmaduke","html_url":"https://github.com/NGMarmaduke","followers_url":"https://api.github.com/users/NGMarmaduke/followers","following_url":"https://api.github.com/users/NGMarmaduke/following{/other_user}","gists_url":"https://api.github.com/users/NGMarmaduke/gists{/gist_id}","starred_url":"https://api.github.com/users/NGMarmaduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NGMarmaduke/subscriptions","organizations_url":"https://api.github.com/users/NGMarmaduke/orgs","repos_url":"https://api.github.com/users/NGMarmaduke/repos","events_url":"https://api.github.com/users/NGMarmaduke/events{/privacy}","received_events_url":"https://api.github.com/users/NGMarmaduke/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T12:58:04Z","updated_at":"2016-03-30T12:58:04Z","body":"+1"}}