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

Hopping Daylight Savings Time #8

Open
jcasimir opened this issue Nov 2, 2010 · 0 comments
Open

Hopping Daylight Savings Time #8

jcasimir opened this issue Nov 2, 2010 · 0 comments

Comments

@jcasimir
Copy link

jcasimir commented Nov 2, 2010

ree-1.8.7-2010.02 > t = {:next => Date.today}
=> {:next=>Tue, 02 Nov 2010}
ree-1.8.7-2010.02 > 3.times do
ree-1.8.7-2010.02 > t = Tickle.parse('Wednesday', :start => t[:next], :now => t[:next])
ree-1.8.7-2010.02 ?> puts t[:next]
ree-1.8.7-2010.02 ?> end
Wed Nov 03 12:00:00 -0400 2010
Thu Nov 11 11:00:00 -0500 2010
Wed Nov 17 12:00:00 -0500 2010

Note that the middle one is getting thrown off by daylight savings time which happens this weekend. Any tips?

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

No branches or pull requests

1 participant