{"action":"created","issue":{"url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/37","labels_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/37/comments","events_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/37/events","html_url":"https://github.com/django-recurrence/django-recurrence/issues/37","id":59829297,"number":37,"title":"EXRULE not working...","user":{"login":"msander","id":368751,"avatar_url":"https://avatars.githubusercontent.com/u/368751?v=3","gravatar_id":"","url":"https://api.github.com/users/msander","html_url":"https://github.com/msander","followers_url":"https://api.github.com/users/msander/followers","following_url":"https://api.github.com/users/msander/following{/other_user}","gists_url":"https://api.github.com/users/msander/gists{/gist_id}","starred_url":"https://api.github.com/users/msander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msander/subscriptions","organizations_url":"https://api.github.com/users/msander/orgs","repos_url":"https://api.github.com/users/msander/repos","events_url":"https://api.github.com/users/msander/events{/privacy}","received_events_url":"https://api.github.com/users/msander/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-04T17:12:59Z","updated_at":"2015-03-11T07:09:49Z","closed_at":null,"body":"I have created a rule that should occur every year from 1st to 10th of december.\r\n\r\nRule definition:\r\n\r\nRRULE:FREQ=MONTHLY;BYMONTHDAY=1,2,3,4,5,6,7,8,9,10\r\nEXRULE:FREQ=YEARLY;BYMONTH=1,2,3,4,5,6,7,8,9,10,11\r\n\r\n\r\nIn [100]: robj = recurrence.deserialize(rule)\r\nIn [102]: robj.occurrences().after(datetime.datetime.utcnow())\r\nOut[102]: datetime.datetime(2015, 3, 5, 18, 8, 40)\r\n\r\nany ideas?"},"comment":{"url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/comments/78215006","html_url":"https://github.com/django-recurrence/django-recurrence/issues/37#issuecomment-78215006","issue_url":"https://api.github.com/repos/django-recurrence/django-recurrence/issues/37","id":78215006,"user":{"login":"dominicrodger","id":1047389,"avatar_url":"https://avatars.githubusercontent.com/u/1047389?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicrodger","html_url":"https://github.com/dominicrodger","followers_url":"https://api.github.com/users/dominicrodger/followers","following_url":"https://api.github.com/users/dominicrodger/following{/other_user}","gists_url":"https://api.github.com/users/dominicrodger/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicrodger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicrodger/subscriptions","organizations_url":"https://api.github.com/users/dominicrodger/orgs","repos_url":"https://api.github.com/users/dominicrodger/repos","events_url":"https://api.github.com/users/dominicrodger/events{/privacy}","received_events_url":"https://api.github.com/users/dominicrodger/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T07:09:49Z","updated_at":"2015-03-11T07:09:49Z","body":"Apologies @msander - I entirely missed the point of this bug report - that you were talking about exclusion rules rather than inclusion rules.\r\n\r\nAnnual rules (whether inclusion or exclusion rules) use the day of the month provided in ``dtstart``. So, if I set ``dtstart`` to (say) 4th March 2015, I'll get every day 1-3, 5-10 in January to November, and 1-10 in December. In other words, your exclusion just excludes whichever day of the month ``dtsart`` is set to (4th of the month, in this example).\r\n\r\nDoes that make sense?\r\n\r\nI agree that this behaviour is probably not useful, not least because it makes what you're trying to do impossible to accomplish, as far as I can see. I'll see if I can think of a way to fix this."}}