lib/fugit/cron.rb in fugit-1.3.2 vs lib/fugit/cron.rb in fugit-1.3.3
- old
+ new
@@ -195,10 +195,10 @@
true
end
def match?(t)
- t = Fugit.do_parse_at(t)
+ t = Fugit.do_parse_at(t).translate(@timezone)
month_match?(t) && day_match?(t) &&
hour_match?(t) && min_match?(t) && sec_match?(t)
end