diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-31 17:18:07 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-06 17:46:58 +0300 |
commit | 5720919cd0cd457aa83fa3e3c36e34867b0eed60 (patch) | |
tree | 6e3cbff6c5d9c230b157f349f777b5cd7e840da9 /lib | |
parent | d65c816ed78910eabd7ecbc9282e85d6b6f21796 (diff) |
Brush up 2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ci/cron_parser.rb | 2 |
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 |