diff options
author | Collen <collen@gitlab.com> | 2018-07-10 15:22:13 +0000 |
---|---|---|
committer | Kamil TrzciĆski <ayufan@ayufan.eu> | 2018-07-10 15:22:13 +0000 |
commit | 798608af94f092dd6289b7da0f57bd1c8307e2f0 (patch) | |
tree | cdcde46e9af7a2176fe92d56b28029f584bdcb68 /app/helpers | |
parent | b40e71d6f3c71cd7d46bb64561ee2b291b3f8394 (diff) | |
download | gitlab-ce-798608af94f092dd6289b7da0f57bd1c8307e2f0.tar.gz |
Add daylight saving time support for pipeline schedules
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/pipeline_schedules_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/pipeline_schedules_helper.rb b/app/helpers/pipeline_schedules_helper.rb index 6edaf78de1b..4b9f6bd2caf 100644 --- a/app/helpers/pipeline_schedules_helper.rb +++ b/app/helpers/pipeline_schedules_helper.rb @@ -3,7 +3,7 @@ module PipelineSchedulesHelper ActiveSupport::TimeZone.all.map do |timezone| { name: timezone.name, - offset: timezone.utc_offset, + offset: timezone.now.utc_offset, identifier: timezone.tzinfo.identifier } end |