{"action":"opened","issue":{"url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/50","labels_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/50/comments","events_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/50/events","html_url":"https://github.com/django-recurrence/django-recurrence/issues/50","id":97833486,"number":50,"title":"Using inc=True and dtstart with between() incorrectly always includes the dtstart time","user":{"login":"Lidor7","id":1054031,"avatar_url":"https://avatars.githubusercontent.com/u/1054031?v=3","gravatar_id":"","url":"https://api.github.com/users/Lidor7","html_url":"https://github.com/Lidor7","followers_url":"https://api.github.com/users/Lidor7/followers","following_url":"https://api.github.com/users/Lidor7/following{/other_user}","gists_url":"https://api.github.com/users/Lidor7/gists{/gist_id}","starred_url":"https://api.github.com/users/Lidor7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lidor7/subscriptions","organizations_url":"https://api.github.com/users/Lidor7/orgs","repos_url":"https://api.github.com/users/Lidor7/repos","events_url":"https://api.github.com/users/Lidor7/events{/privacy}","received_events_url":"https://api.github.com/users/Lidor7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-29T01:10:07Z","updated_at":"2015-07-29T01:10:07Z","closed_at":null,"body":"Creating a weekly Monday recurrence.  Then getting all the occurrences between 2015-08-02 (Sunday) and 2015-08-11 (Tuesday) should return 2015-08-03 (Monday) and 2015-08-10 (Monday).\r\n\r\nHowever, if I use the inc=True option to make start/end times inclusive and also use the dtstart option to specify the start date (lets me find occurrences in the past), it always includes the dtstart value as one of the occurrences.\r\n\r\nHere is the code (version 1.2.0) demonstrating the bug:\r\n\r\n`recurrence.Recurrence(rrules=[recurrence.Rule(recurrence.WEEKLY, byday=recurrence.MONDAY)]).between(datetime.datetime(2015, 8, 2), datetime.datetime(2015, 8, 11), inc=True, dtstart=datetime.datetime(2015, 8, 2))`\r\n\r\nThis results in:\r\n\r\n`[datetime.datetime(2015, 8, 2, 0, 0), datetime.datetime(2015, 8, 3, 0, 0), datetime.datetime(2015, 8, 10, 0, 0)]`\r\n\r\nExpected:\r\n\r\n`[datetime.datetime(2015, 8, 3, 0, 0), datetime.datetime(2015, 8, 10, 0, 0)]`\r\n\r\n"}}