{"issue":{"created_at":"2011-12-09T11:52:11Z","state":"closed","updated_at":"2011-12-09T14:42:54Z","comments":2,"user":{"gravatar_id":"e7b3ebea533ba8069163161fa4b4e905","id":705807,"url":"https://api.github.com/users/deltadd","avatar_url":"https://secure.gravatar.com/avatar/e7b3ebea533ba8069163161fa4b4e905?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"deltadd"},"body":"In v.0.7.1 after save/restore from yaml the information about interval become incorrect in #occurrences_between\r\n\r\n```ruby\r\nr = Rule.daily(3)\r\ns = Schedule.new(Time.now)\r\ns.add_recurrence_rule(r)\r\ns.occurrences_between(Time.local(2011, 12, 1), Time.local(2011, 12, 31))  # This works correctly with interval of 3 days\r\n\r\nyaml = s.to_yaml\r\nsbug = Schedule.from_yaml(yaml)\r\n\r\nsbug.occurrences_between(Time.local(2011, 12, 1), Time.local(2011, 12, 31))  # Bug: now every day\r\n\r\nsbug.to_s  # However this shows \"Every 3 days\"\r\n```\r\n","assignee":null,"id":2500787,"number":47,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Bug with interval and yaml","html_url":"https://github.com/seejohnrun/ice_cube/issues/47","closed_at":"2011-12-09T13:28:49Z","url":"https://api.github.com/repos/seejohnrun/ice_cube/issues/47","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T14:42:54Z","updated_at":"2011-12-09T14:42:54Z","user":{"gravatar_id":"e7b3ebea533ba8069163161fa4b4e905","id":705807,"url":"https://api.github.com/users/deltadd","avatar_url":"https://secure.gravatar.com/avatar/e7b3ebea533ba8069163161fa4b4e905?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"deltadd"},"body":"Thanks, issue fixed :)","id":3079891,"url":"https://api.github.com/repos/seejohnrun/ice_cube/issues/comments/3079891"}}