diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-07-10 18:22:13 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-07-10 18:22:13 +0300 |
commit | 49d7f92fd7476b4fb10e44ff92f36be99de0df49 (patch) | |
tree | cdcde46e9af7a2176fe92d56b28029f584bdcb68 /app | |
parent | b40e71d6f3c71cd7d46bb64561ee2b291b3f8394 (diff) | |
parent | 798608af94f092dd6289b7da0f57bd1c8307e2f0 (diff) |
Merge branch 'add-dst-support-to-pipeline-schedule' into 'master'
Add daylight saving time support for pipeline schedules
Closes #37165
See merge request gitlab-org/gitlab-ce!20145
Diffstat (limited to 'app')
-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 |