8000 Fix Daylight Savings Behavior by subtlepseudonym · Pull Request #189 · aptible/supercronic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Daylight Savings Behavior #189

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

subtlepseudonym
Copy link

This change fixes the issues raised in #86 and adds a few tests for the new behavior.

I included a brief explanation of the current erroneous behavior on the issue and pointed out that the fix may cause some potentially confusing behavior (*/2 * * * * will have one hour between jobs when the DST boundary is divisible by two).

This change also reuses the crontest.layout for parsing in addition to its existing use for matching output. This required some adjustments the existing timestamp strings unrelated to the DST functionality.

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.

1 participant
0