Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-31 17:18:07 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-04-06 17:46:58 +0300
commit5720919cd0cd457aa83fa3e3c36e34867b0eed60 (patch)
tree6e3cbff6c5d9c230b157f349f777b5cd7e840da9 /lib
parentd65c816ed78910eabd7ecbc9282e85d6b6f21796 (diff)
Brush up 2
Diffstat (limited to 'lib')
-rw-r--r--lib/ci/cron_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ci/cron_parser.rb b/lib/ci/cron_parser.rb
index 2919543bbef..eb348306436 100644
--- a/lib/ci/cron_parser.rb
+++ b/lib/ci/cron_parser.rb
@@ -11,7 +11,7 @@ module Ci
def next_time_from(time)
cronLine = try_parse_cron(@cron, @cron_time_zone)
if cronLine.present?
- cronLine.next_time(time)
+ cronLine.next_time(time).in_time_zone(Time.zone)
else
nil
end