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/app
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-07-10 18:22:13 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-07-10 18:22:13 +0300
commit49d7f92fd7476b4fb10e44ff92f36be99de0df49 (patch)
treecdcde46e9af7a2176fe92d56b28029f584bdcb68 /app
parentb40e71d6f3c71cd7d46bb64561ee2b291b3f8394 (diff)
parent798608af94f092dd6289b7da0f57bd1c8307e2f0 (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.rb2
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