{"action":"closed","issue":{"url":"https://api.github.com/repos/jakubroztocil/rrule/issues/297","repository_url":"https://api.github.com/repos/jakubroztocil/rrule","labels_url":"https://api.github.com/repos/jakubroztocil/rrule/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/jakubroztocil/rrule/issues/297/comments","events_url":"https://api.github.com/repos/jakubroztocil/rrule/issues/297/events","html_url":"https://github.com/jakubroztocil/rrule/issues/297","id":378009591,"node_id":"MDU6SXNzdWUzNzgwMDk1OTE=","number":297,"title":"Example ` between` returns the wrong values?","user":{"login":"cjrd","id":1455579,"node_id":"MDQ6VXNlcjE0NTU1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1455579?v=4","gravatar_id":"","url":"https://api.github.com/users/cjrd","html_url":"https://github.com/cjrd","followers_url":"https://api.github.com/users/cjrd/followers","following_url":"https://api.github.com/users/cjrd/following{/other_user}","gists_url":"https://api.github.com/users/cjrd/gists{/gist_id}","starred_url":"https://api.github.com/users/cjrd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjrd/subscriptions","organizations_url":"https://api.github.com/users/cjrd/orgs","repos_url":"https://api.github.com/users/cjrd/repos","events_url":"https://api.github.com/users/cjrd/events{/privacy}","received_events_url":"https://api.github.com/users/cjrd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-06T19:58:02Z","updated_at":"2018-11-11T19:38:23Z","closed_at":"2018-11-11T19:38:23Z","author_association":"NONE","body":"\r\n\r\n- [x] Verify that you've looked through existing issues for duplicates before\r\n  creating a new one\r\n- [x] Code sample reproducing the issue. Be sure to include all input values you\r\n  are using such as the exact RRule string and dates.\r\n\r\nFrom the `between` example in `Readme.md`:\r\n```javascript\r\nconst rrule = require(\"rrule\")\r\nconst RRule = rrule.RRule\r\n\r\nconst rule = new RRule({\r\n  freq: RRule.WEEKLY,\r\n  interval: 5,\r\n  byweekday: [RRule.MO, RRule.FR],\r\n  dtstart: new Date(Date.UTC(2012, 1, 1, 10, 30)),\r\n  until: new Date(Date.UTC(2012, 12, 31))\r\n})\r\n\r\nconsole.log(rule.between(new Date(Date.UTC(2012, 7, 1)), new Date(Date.UTC(2012, 8, 1))))\r\n```\r\n\r\n\r\n- [x] Expected output\r\n`[ 2012-06-18T10:30:00.000Z, 2012-06-22T10:30:00.000Z ]`\r\n- [x] Actual output\r\n`[ 2012-08-27T10:30:00.000Z, 2012-08-31T10:30:00.000Z ]`\r\n\r\n- [x] The version of `rrule` you are using\r\n`2.5.6`\r\n\r\n- [x] Your operating system\r\n```bash\r\n$ cat /proc/version\r\n# Linux version 4.4.0-1062-aws (buildd@lgw01-amd64-046) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #71-Ubuntu SMP Fri Jun 15 10:07:39 UTC 2018\r\n```\r\n- [x] Your local timezone (run `$ date` from the command line\r\n  of the machine showing the bug)\r\n`Tue Nov  6 19:55:26 UTC 2018`\r\n"}}
{"actor":{"display_login":"davidgoli"}}