Commit f8abc06e authored by Lin Jen-Shin's avatar Lin Jen-Shin Committed by Rémy Coutable

Use Time.zone.now for Ci::PipelineSchedule#ideal_next_run_at

parent d6446335
...@@ -73,7 +73,8 @@ module Ci ...@@ -73,7 +73,8 @@ module Ci
private private
def ideal_next_run_at def ideal_next_run_at
Gitlab::Ci::CronParser.new(cron, cron_timezone).next_time_from(Time.now) Gitlab::Ci::CronParser.new(cron, cron_timezone)
.next_time_from(Time.zone.now)
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment