Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong timezone in Schedule#occurrences_between #209

Closed
wants to merge 1 commit into from

Conversation

larskuhnt
Copy link
Contributor

Hi,

Schedule#occurrences_between uses the timezone of the dates given as arguments instead of the timezone of the schedule in some cases. I added two failing specs in this pull request that show the problem.

The strange thing is that it seems to depend on the termination condition of the rule: a daily rule with #count works as expected while #until and unterminated daily rules return wrong timezones.

@mattbornski
Copy link

Just ran into this one too, it's a real PITA.

@avit
Copy link
Collaborator

avit commented Mar 22, 2014

I'll take a look today.

@avit
Copy link
Collaborator

avit commented Mar 23, 2014

Fixed in 604d29f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants