{"action":"opened","issue":{"url":"https://api.github.com/repos/rlanvin/php-rrule/issues/19","repository_url":"https://api.github.com/repos/rlanvin/php-rrule","labels_url":"https://api.github.com/repos/rlanvin/php-rrule/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/rlanvin/php-rrule/issues/19/comments","events_url":"https://api.github.com/repos/rlanvin/php-rrule/issues/19/events","html_url":"https://github.com/rlanvin/php-rrule/issues/19","id":188066101,"number":19,"title":"Are rules such as this possible?","user":{"login":"schester44","id":15207595,"avatar_url":"https://avatars.githubusercontent.com/u/15207595?v=3","gravatar_id":"","url":"https://api.github.com/users/schester44","html_url":"https://github.com/schester44","followers_url":"https://api.github.com/users/schester44/followers","following_url":"https://api.github.com/users/schester44/following{/other_user}","gists_url":"https://api.github.com/users/schester44/gists{/gist_id}","starred_url":"https://api.github.com/users/schester44/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schester44/subscriptions","organizations_url":"https://api.github.com/users/schester44/orgs","repos_url":"https://api.github.com/users/schester44/repos","events_url":"https://api.github.com/users/schester44/events{/privacy}","received_events_url":"https://api.github.com/users/schester44/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-08T18:20:36Z","updated_at":"2016-11-08T18:20:36Z","closed_at":null,"body":"Hello, I'm trying to set up rules similar to the following:\r\n\r\n`Repeat [Monthly], [BY DAY], Where the Day = [TU] and is the [First] Day Of The Month`\r\nWords in brackets being variables that may change. My problem at the moment is i'm unable to return the first Tuesday of every month. It seems `Interval` works to return only 1 day out of the month but interval gets cancelled out if i use it in conjunction with `byday`.\r\n\r\n```\r\n$rset = new RSet();\r\n$rset->addRRule(array(\r\n    'freq' => RRule::MONTHLY,\r\n    'interval' => 1,\r\n    'count' => $count,\r\n    'byday' => 'TU',\r\n    'dtstart' => '2015-10-06 09:00:00'\r\n));\r\n```\r\n\r\n$count being the total months between dtstart and the end date.\r\n"}}
{"actor":{"display_login":"schester44"}}