Day light savings time bug #180

cantino opened this Issue Mar 8, 2014 · 3 comments

2 participants


My instance is failing with

/home/huginn/app/shared/bundle/ruby/1.9.1/gems/tzinfo-0.3.38/lib/tzinfo/timezone.rb:366:in `period_for_local': TZInfo::PeriodNotFound (TZInfo::PeriodNotFound)
    from /home/huginn/app/shared/bundle/ruby/1.9.1/gems/tzinfo-0.3.38/lib/tzinfo/timezone.rb:450:in `block in local_to_utc'
    from /home/huginn/app/shared/bundle/ruby/1.9.1/gems/tzinfo-0.3.38/lib/tzinfo/time_or_datetime.rb:277:in `wrap'
    from /home/huginn/app/shared/bundle/ruby/1.9.1/gems/tzinfo-0.3.38/lib/tzinfo/timezone.rb:446:in `local_to_utc'

in the scheduler.


I think the problem is that rufus_scheduler.cron "0 #{hour} * * * America/Los_Angeles" do in bin.schedule.rb is blowing up because one of those times doesn't exist today.


Unfortunately, I don't have time to fix it right now, if anyone wants to work on it.

@cantino cantino added the bug label Mar 8, 2014

heh, just experienced this myself, found this piece of info that may be related and possibly bring a solution

@cantino cantino closed this Jul 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment